From 75979116727eed330b404dfb9c01354704193fc9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 27 May 2020 00:21:30 +0200 Subject: daily-psk: wait to be fully connected --- doc/daily-psk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/daily-psk.md b/doc/daily-psk.md index 26ab3d1..c6055d6 100644 --- a/doc/daily-psk.md +++ b/doc/daily-psk.md @@ -28,7 +28,7 @@ For local interface: 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=":global WaitFullyConnected; / system script { run global-wait; \$WaitFullyConnected; run daily-psk.local; }" start-time=startup; + / system scheduler add name=daily-psk-startup on-event="/ system script { run global-wait; run daily-psk.local; }" start-time=startup; These will update the passphrase on boot and nightly at 3:00. -- cgit v1.2.3-54-g00ecf