mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 02:05:01 +02:00
global: drop script 'global-wait'
All scripts wait for the global functions on their own now.
This commit is contained in:
parent
2db73a189c
commit
d5afc79eed
51 changed files with 137 additions and 81 deletions
|
@ -12,23 +12,23 @@ passphrase to a pseudo-random string daily.
|
|||
Requirements and installation
|
||||
-----------------------------
|
||||
|
||||
Just install this script and [global-wait](global-wait.md).
|
||||
Just install this script.
|
||||
|
||||
Depending on whether you use CAPsMAN (`/ caps-man`) or local wireless
|
||||
interface (`/ interface wireless`) you need to install a different script.
|
||||
|
||||
For CAPsMAN:
|
||||
|
||||
$ScriptInstallUpdate daily-psk.capsman,global-wait;
|
||||
$ScriptInstallUpdate daily-psk.capsman;
|
||||
|
||||
For local interface:
|
||||
|
||||
$ScriptInstallUpdate daily-psk.local,global-wait;
|
||||
$ScriptInstallUpdate daily-psk.local;
|
||||
|
||||
And add schedulers to run the script:
|
||||
|
||||
/ system scheduler add interval=1d name=daily-psk-nightly on-event="/ system script run daily-psk.local;" start-date=may/23/2018 start-time=03:00:00;
|
||||
/ system scheduler add name=daily-psk-startup on-event="/ system script { run global-wait; run daily-psk.local; }" start-time=startup;
|
||||
/ system scheduler add name=daily-psk-startup on-event="/ system script run daily-psk.local;" start-time=startup;
|
||||
|
||||
These will update the passphrase on boot and nightly at 3:00.
|
||||
|
||||
|
@ -46,11 +46,6 @@ Then add an access list entry:
|
|||
|
||||
Also notification settings are required for e-mail and telegram.
|
||||
|
||||
See also
|
||||
--------
|
||||
|
||||
* [Wait for configuration und functions](global-wait.md)
|
||||
|
||||
---
|
||||
[◀ Go back to main README](../README.md)
|
||||
[▲ Go back to top](#top)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue