package/iwd/S40iwd: implement restart command

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
Fiona Klute
2026-06-04 16:42:30 +02:00
committed by Marcus Hoffmann
parent 59bc42f1a6
commit 2c80df91c2

View File

@@ -43,10 +43,16 @@ stop() {
return "$status"
}
restart() {
stop
start
}
case "$1" in
start|stop)
"$1";;
start|stop|restart)
"$1"
;;
*)
echo "Usage: $0 {start|stop}"
echo "Usage: $0 {start|stop|restart}"
exit 1
esac