diff options
author | Christian Hesse <mail@eworm.de> | 2018-09-10 22:15:54 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-09-10 22:15:54 +0200 |
commit | 172d789f2a4f350555665173f53f6cd5122cd1a7 (patch) | |
tree | fe7cd5f64346631c9f2bbc3e9ffd40c646b8faa1 /global-config | |
parent | 8f4986af0bb0ecea13594b9ea2bbcfbaa6c8a7e7 (diff) |
add scripts mode-button-{event,scheduler}
Diffstat (limited to 'global-config')
-rw-r--r-- | global-config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/global-config b/global-config index ae7f73a..e42139b 100644 --- a/global-config +++ b/global-config @@ -39,6 +39,14 @@ # pseudo-random PSK. :global "daily-psk-match-comment" "Daily PSK"; +# Run different commands with multiple mode-button presses. +:global "mode-button" { + 1="/ system script run leds-toggle-mode;"; + 2="/ system shutdown"; + 3="/ system reboot"; +# add mode here... +}; + # This address should resolve ntp servers and is used to update # ntp settings. A pool can rotate servers. :global "ntp-pool" "pool.ntp.org"; |