aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-08-29 09:29:20 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-08-30 11:03:43 +0200
commitf559c4ac929c1a850875a5d7cccf72a0a9b9f64e (patch)
treedf33935086a03f12b10aef06605d369b53f30eee
parent03db080774168d1f26d3abed0257d2752e4ebd6e (diff)
unattended-lte-firmware-upgrade: add valid script to scheduler
-rw-r--r--unattended-lte-firmware-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/unattended-lte-firmware-upgrade b/unattended-lte-firmware-upgrade
index 73115c9..ac755d9 100644
--- a/unattended-lte-firmware-upgrade
+++ b/unattended-lte-firmware-upgrade
@@ -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;
}
}