aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:43 +0200
commitdf547b87a47e279d3f6b744675821621eea5d7b8 (patch)
treed5b33fb62e10637d70d8d0616437294ceb15ed9f /global-config
parent93ec9afe558ef6eba5d513fab359bb5f6618666d (diff)
parent12655bd58afc3a75fe3e2958bbe130b96f8b9be7 (diff)
Merge branch 'ros-v7-path-syntax' into next
Diffstat (limited to 'global-config')
-rw-r--r--global-config12
1 files changed, 6 insertions, 6 deletions
diff --git a/global-config b/global-config
index ea5176e..933ec2e 100644
--- a/global-config
+++ b/global-config
@@ -128,10 +128,10 @@
# Run different commands with multiple mode-button presses.
:global ModeButton {
- 1="/ system script run leds-toggle-mode;";
+ 1="/system/script/run leds-toggle-mode;";
2=":global SendNotification; :global Identity; \$SendNotification (\"Hello...\") (\"Hello world, \" . \$Identity . \" calling!\");";
- 3="/ system shutdown;";
- 4="/ system reboot;";
+ 3="/system/shutdown;";
+ 4="/system/reboot;";
5=":global BridgePortVlan; \$BridgePortVlan alt;";
# add more here...
};
@@ -141,8 +141,8 @@
# Run commands on SMS action.
:global SmsAction {
bridge-port-vlan-alt=":global BridgePortVlan; \$BridgePortVlan alt;";
- reboot="/ system reboot;";
- shutdown="/ system shutdown;";
+ reboot="/system/reboot;";
+ shutdown="/system/shutdown;";
# add more here...
};
@@ -194,7 +194,7 @@
# load custom settings from overlay
# Warning: Do *NOT* copy this code to overlay!
:do {
- / system script run global-config-overlay;
+ /system/script/run global-config-overlay;
} on-error={
:log error ("Loading configuration from overlay failed!");
}