usr/local/bin/custom/poe.sh aktualisiert
This commit is contained in:
@@ -106,6 +106,15 @@ function manual_restart() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ "$1" == "restart" ]]; then
|
||||||
|
if [[ -z "$2" ]]; then
|
||||||
|
echo "MAC-Adresse fehlt."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
manual_restart "$2"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "" > "$LOGFILE"
|
echo "" > "$LOGFILE"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
Reference in New Issue
Block a user