From c88de834e4e30b3797c184857a9d8dffea94ab35 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 26 May 2020 23:58:46 +0200 Subject: doc/daily-psk: use $WaitFullyConnected --- doc/daily-psk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/daily-psk.md b/doc/daily-psk.md index e6d7aae..26ab3d1 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 WaitTimeSync; / system script { run global-wait; \$WaitTimeSync; run daily-psk.local; }" start-time=startup; + / system scheduler add name=daily-psk-startup on-event=":global WaitFullyConnected; / system script { run global-wait; \$WaitFullyConnected; 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