From 8b2df7abd071b75b19df8564cece0a23c18c7894 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 16 Oct 2020 08:24:19 +0200 Subject: mode-button: merge mode-button-event & mode-button-scheduler --- doc/mode-button.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/mode-button.md b/doc/mode-button.md index 6469e54..a44b571 100644 --- a/doc/mode-button.md +++ b/doc/mode-button.md @@ -6,7 +6,7 @@ Mode button with multiple presses Description ----------- -These scripts extend the functionality of mode button. Instead of just one +This script extend the functionality of mode button. Instead of just one you can trigger several actions by pressing the mode button several times. The hardware needs to have a mode button, see @@ -31,17 +31,17 @@ Copy this code to terminal to check: Requirements and installation ----------------------------- -Just install the scripts: +Just install the script: - $ScriptInstallUpdate mode-button-event,mode-button-scheduler; + $ScriptInstallUpdate mode-button; -Then configure the mode button to run `mode-button-event`: +Then configure the mode button to run `mode-button`: - / system routerboard mode-button set enabled=yes on-event="/ system script run mode-button-event;"; + / system routerboard mode-button set enabled=yes on-event="/ system script run mode-button;"; To use the reset button instead: - / system routerboard reset-button set enabled=yes on-event="/ system script run mode-button-event;"; + / system routerboard reset-button set enabled=yes on-event="/ system script run mode-button;"; Configuration ------------- -- cgit v1.2.3-70-g09d2