Added ./mycroft.sh restart functionality
parent
14df7e6846
commit
d96b975b7a
11
mycroft.sh
11
mycroft.sh
|
@ -157,6 +157,17 @@ case "$1" in
|
|||
stop-mycroft cli
|
||||
;;
|
||||
|
||||
"restart")
|
||||
case "$2" in
|
||||
""|"-v"|"--voice"|"-c"|"--cli"|"-d"|"--debug")
|
||||
$0 stop
|
||||
$0 start $2
|
||||
;;
|
||||
*)
|
||||
usage-exit
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
usage-exit
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue