diff options
Diffstat (limited to 'daily-psk.capsman')
-rw-r--r-- | daily-psk.capsman | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.capsman b/daily-psk.capsman index 623ef0c..a457454 100644 --- a/daily-psk.capsman +++ b/daily-psk.capsman @@ -15,8 +15,9 @@ :global SendNotification; :global UrlEncode; :global WaitForFile; +:global WaitFullyConnected; -:local Seen [ :toarray "" ]; +$WaitFullyConnected; # return pseudo-random string for PSK :local GeneratePSK do={ @@ -48,6 +49,7 @@ ($DailyPskSecrets->2->$WeekDay)); } +:local Seen [ :toarray "" ]; :local Date [ / system clock get date ]; :local NewPsk [ $GeneratePSK $Date ]; |