From 01bbfc224a228206fbe18318b2a23363fa9663cc Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Wed, 19 Dec 2012 11:49:57 -0800 Subject: TRAC Ticket #271 - Dogtag 10: Fix 'status' command in 'pkidaemon' . . . --- base/deploy/scripts/pkidaemon | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'base/deploy/scripts/pkidaemon') diff --git a/base/deploy/scripts/pkidaemon b/base/deploy/scripts/pkidaemon index 02b02370f..3e1d27a40 100755 --- a/base/deploy/scripts/pkidaemon +++ b/base/deploy/scripts/pkidaemon @@ -38,8 +38,7 @@ SYSTEMD=1 # See how we were called. case $command in status) - # registry_status - echo "The 'status' action is TBD." + registry_status exit $? ;; start) @@ -67,9 +66,12 @@ case $command in ;; *) echo "unknown action ($command)" - usage - echo "where valid instance names include:" - list_instances + echo + usage_systemd + echo "where valid instance types include:" + list_instance_types + echo "and where valid instance names include:" + list_systemd_instances exit ${default_error} ;; esac -- cgit