From: Thierry Parmentelat Date: Wed, 12 Dec 2007 12:10:53 +0000 (+0000) Subject: run with the steps command to get the sorted list of steps X-Git-Tag: myplc-4.0-15~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e81a8f4a5368ab9d8a5bb64d0fe1033b10634d54;p=myplc.git run with the steps command to get the sorted list of steps --- diff --git a/guest.init b/guest.init index 70ff354..8a49394 100755 --- a/guest.init +++ b/guest.init @@ -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 ;;