]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
wsdd: Add a restart command
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Jan 2024 15:17:09 +0000 (16:17 +0100)
committerDaniel Weismüller <daniel.weismueller@ipfire.org>
Thu, 11 Jan 2024 15:17:09 +0000 (16:17 +0100)
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
src/initscripts/packages/wsdd

index be98e170d2569fab6c26728bc83282544a63250c..ed0174224c02cc93745d21498ce37d25ed0739fd 100644 (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