aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 4443431..22af3e2 100644
--- a/global-functions
+++ b/global-functions
@@ -198,7 +198,10 @@
:global IfThenElse;
:local Resource [ / system resource get ];
- :local RouterBoard [ / system routerboard get ];
+ :local RouterBoard;
+ :do {
+ :set RouterBoard [ / system routerboard get ];
+ } on-error={ }
:local Update [ / system package update get ];
:return ( \