aboutsummaryrefslogtreecommitdiffstats
path: root/doc/leds-mode.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-11 10:09:58 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:00 +0200
commit36ec2e1595e1d7fb746c0ed050546d7196544ff8 (patch)
tree3f399760f7df57f7c25e43a8c8d8e40cb7b5101f /doc/leds-mode.md
parente25f13fe17e6dc6b75df8e39ecad3c5ce7cb2358 (diff)
doc/leds-mode: RouterOS v7 path syntax
Diffstat (limited to 'doc/leds-mode.md')
-rw-r--r--doc/leds-mode.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/leds-mode.md b/doc/leds-mode.md
index b525220..65f9f01 100644
--- a/doc/leds-mode.md
+++ b/doc/leds-mode.md
@@ -21,21 +21,21 @@ Usage and invocation
To switch the device to dark mode:
- / system script run leds-night-mode;
+ /system/script/run leds-night-mode;
... and back to normal mode:
- / system script run leds-day-mode;
+ /system/script/run leds-day-mode;
To toggle between the two modes:
- / system script run leds-toggle-mode;
+ /system/script/run leds-toggle-mode;
Add these schedulers to switch to dark mode in the evening and back to
normal mode in the morning:
- / system scheduler add interval=1d name=leds-day-mode on-event="/ system script run leds-day-mode;" start-time=07:00:00;
- / system scheduler add interval=1d name=leds-night-mode on-event="/ system script run leds-night-mode;" start-time=21:00:00;
+ /system/scheduler/add interval=1d name=leds-day-mode on-event="/system/script/run leds-day-mode;" start-time=07:00:00;
+ /system/scheduler/add interval=1d name=leds-night-mode on-event="/system/script/run leds-night-mode;" start-time=21:00:00;
The script `leds-toggle-mode` can be used from [mode button](mode-button.md)
to toggle mode.