From f484e45b6a1fe5284462da19c90219d0716d916a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 12 Nov 2021 14:10:13 +0100 Subject: bridge-port-to-default -> global-functions.d/bridge-port-to --- global-config | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'global-config') diff --git a/global-config b/global-config index 5dc9a20..3905c8e 100644 --- a/global-config +++ b/global-config @@ -8,7 +8,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 65; +:global GlobalConfigVersion 66; # This is used for DNS and backup file. :global Domain "example.com"; @@ -107,9 +107,6 @@ :global CheckHealthTemperatureDeviation 2; :global CheckHealthVoltagePercent 10; -# This controls what configuration is activated by bridge-port-to-default. -:global BridgePortTo "default"; - # Access-list entries matching this comment are updated # with daily pseudo-random PSK. :global DailyPskMatchComment "Daily PSK"; @@ -134,7 +131,7 @@ 2=":global SendNotification; :global Identity; \$SendNotification (\"Hello...\") (\"Hello world, \" . \$Identity . \" calling!\");"; 3="/ system shutdown;"; 4="/ system reboot;"; - 5="/ system script run bridge-port-toggle;"; + 5=":global BridgePortVlan; \$BridgePortVlan alt;"; # add more here... }; # This led gives visual feedback if type is 'on' or 'off'. @@ -142,7 +139,7 @@ # Run commands on SMS action. :global SmsAction { - bridge-port-toggle="/ system script run bridge-port-toggle;"; + bridge-port-vlan-alt=":global BridgePortVlan; \$BridgePortVlan alt;"; reboot="/ system reboot;"; shutdown="/ system shutdown;"; # add more here... -- cgit v1.2.3-54-g00ecf