From 172d789f2a4f350555665173f53f6cd5122cd1a7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 10 Sep 2018 22:15:54 +0200 Subject: add scripts mode-button-{event,scheduler} --- global-config | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'global-config') 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"; -- cgit v1.2.3-54-g00ecf