diff options
author | Christian Hesse <mail@eworm.de> | 2021-11-12 14:10:13 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-11-15 22:18:10 +0100 |
commit | f484e45b6a1fe5284462da19c90219d0716d916a (patch) | |
tree | 5fae733f782467e6dd912dd1b40efeeafe9d6c88 /global-config | |
parent | b6215ba95899328bd13fabbf6488b602763b9352 (diff) |
bridge-port-to-default -> global-functions.d/bridge-port-tochange-66
Diffstat (limited to 'global-config')
-rw-r--r-- | global-config | 9 |
1 files changed, 3 insertions, 6 deletions
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... |