aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade.template.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-rolling-upgrade.template.rsc')
-rw-r--r--capsman-rolling-upgrade.template.rsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/capsman-rolling-upgrade.template.rsc b/capsman-rolling-upgrade.template.rsc
index 45a5f8e..e0effd4 100644
--- a/capsman-rolling-upgrade.template.rsc
+++ b/capsman-rolling-upgrade.template.rsc
@@ -19,7 +19,7 @@
:do {
:local ScriptName [ :jobname ];
- :global LogPrintExit2;
+ :global LogPrint;
:global ScriptLock;
:if ([ $ScriptLock $ScriptName ] = false) do={
@@ -41,12 +41,12 @@
# NOT /caps-man/ #
:set ($RemoteCapVal->"name") ($RemoteCapVal->"common-name");
# NOT /caps-man/ #
- $LogPrintExit2 info $ScriptName ("Starting upgrade for " . $RemoteCapVal->"name" . \
- " (" . $RemoteCapVal->"identity" . ")...") false;
+ $LogPrint info $ScriptName ("Starting upgrade for " . $RemoteCapVal->"name" . \
+ " (" . $RemoteCapVal->"identity" . ")...");
/caps-man/remote-cap/upgrade $RemoteCap;
/interface/wifi/capsman/remote-cap/upgrade $RemoteCap;
} else={
- $LogPrintExit2 warning $ScriptName ("Remote CAP vanished, skipping upgrade.") false;
+ $LogPrint warning $ScriptName ("Remote CAP vanished, skipping upgrade.");
}
:delay ($Delay . "s");
}