run with the steps command to get the sorted list of steps
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 12 Dec 2007 12:10:53 +0000 (12:10 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 12 Dec 2007 12:10:53 +0000 (12:10 +0000)
guest.init

index 70ff354..8a49394 100755 (executable)
@@ -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
        ;;