Commit f559c4ac authored by Christian Hesse's avatar Christian Hesse

unattended-lte-firmware-upgrade: add valid script to scheduler

parent 03db0807
......@@ -22,6 +22,7 @@
":log info (\"LTE firmware upgrade finished, waiting for installation before reset.\");\n" . \
":delay 150s;\n" . \
"/ interface lte at-chat " . $IntName . " input=\"AT+RESET\";");
/ system scheduler add name=($IntName . "-firmware-upgrade") on-event=($IntName . "-firmware-upgrade") interval=1m;
/ system scheduler add name=($IntName . "-firmware-upgrade") \
on-event=("/ system script run " . $IntName . "-firmware-upgrade;") interval=1m;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment