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