Commit 44836ccf authored by Christian Hesse's avatar Christian Hesse

mode-button-scheduler: beep for confirmation

But be silent if silent-boot is enabled.
parent fd2901cd
......@@ -14,5 +14,14 @@
/ system scheduler remove mode-button-scheduler;
:log info ("Acting on " . $Count . " mode-button presses: " . $Code);
:delay 1s;
:if ([ / system routerboard settings get silent-boot ] = false) do={
:for I from=1 to=$Count do={
:beep length=200ms;
:delay 200ms;
} else={
:delay 1s;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment