add scripts mode-button-{event,scheduler}

This commit is contained in:
Christian Hesse 2018-09-10 22:15:54 +02:00
parent 8f4986af0b
commit 172d789f2a
3 changed files with 38 additions and 0 deletions

View file

@ -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";