wsdd: Add a restart command

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
This commit is contained in:
Michael Tremer
2024-01-11 16:17:09 +01:00
committed by Daniel Weismüller
parent bf3f602e05
commit c082a0cc9a

View File

@@ -65,8 +65,13 @@ case "$1" in
statusproc /usr/bin/wsdd
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 (start|stop|status)"
echo "Usage: $0 (start|stop|status|restart)"
exit 1
;;
esac