catching up after Andy's manual change in the specfile
[myplc.git] / guest.init
index 0b7e473..8a49394 100755 (executable)
@@ -6,7 +6,7 @@
 #
 # description: Manages all PLC services on this machine
 #
-# $Id: guest.init 635 2007-07-05 11:08:14Z thierry $
+# $Id$
 #
 
 # Source function library and configuration
@@ -94,6 +94,7 @@ usage()
     echo "     stop            Stop all PLC subsystems"
     echo "     reload          Regenerate configuration files"
     echo "     restart         Restart all PLC subsystems"
+    echo "     steps           Displays ordered list of subsystems"
     echo
     echo "Steps:"
     for step in "${steps[@]}" ; do
@@ -187,6 +188,10 @@ case "$command" in
        reload force
        ;;
 
+    steps)
+       echo "${steps[@]}" >&4
+       ;;
+
     *)
        usage >&3
        ;;