From 15ab66fef24eeb9b0a1d994ed18567b2d6ec204a Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Sun, 12 Jul 2026 08:36:58 +0200 Subject: [PATCH] usr/local/bin/custom/poe.sh aktualisiert --- usr/local/bin/custom/poe.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr/local/bin/custom/poe.sh b/usr/local/bin/custom/poe.sh index 4c05e1b..fbd600d 100644 --- a/usr/local/bin/custom/poe.sh +++ b/usr/local/bin/custom/poe.sh @@ -106,6 +106,15 @@ function manual_restart() { done } +if [[ "$1" == "restart" ]]; then + if [[ -z "$2" ]]; then + echo "MAC-Adresse fehlt." + exit 1 + fi + manual_restart "$2" + exit 0 +fi + echo "" > "$LOGFILE" while true; do