# HG changeset patch # User Aleksej Bobylev # Date 1428367806 -10800 # Node ID 3b7af62b1a2e6984e9255b8210afac643f91d9d9 # Parent b0146d791379f5cb5cdcf245d84bde90f6c94863 tazpanel: extended usage help; add restart command. diff -r b0146d791379 -r 3b7af62b1a2e tazpanel --- a/tazpanel Tue Apr 07 00:27:17 2015 +0300 +++ b/tazpanel Tue Apr 07 03:50:06 2015 +0300 @@ -34,9 +34,20 @@ case "$1" in -h|*help|*usage) - echo - gettext 'Usage: tazpanel [start|stop|passwd|app]'; echo - echo ;; + cat < Open TazPanel page in the browser, where is one of: + boot, hardware, help, index, installer, live, network, settings, pkgs + If is empty, index page will open in the browser. + +EOT + ;; start) if [ -f $PIDFILE ]; then gettext 'TazPanel is already running.'; echo @@ -58,6 +69,8 @@ kill $(pgrep -f TazPanel) rm -f $PIDFILE status ;; + restart) + tazpanel stop; sleep 1; tazpanel start;; passwd|-p) echo gettext 'Changing password for TazPanel'; echo