From 2c80df91c20b0d4dd5846a4f78ea90a6ab83c178 Mon Sep 17 00:00:00 2001 From: Fiona Klute Date: Thu, 4 Jun 2026 16:42:30 +0200 Subject: [PATCH] package/iwd/S40iwd: implement restart command Signed-off-by: Fiona Klute Signed-off-by: Marcus Hoffmann --- package/iwd/S40iwd | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/iwd/S40iwd b/package/iwd/S40iwd index c329f3bcc7..00857502f8 100644 --- a/package/iwd/S40iwd +++ b/package/iwd/S40iwd @@ -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