diff options
author | Christian Hesse <mail@eworm.de> | 2018-10-12 13:33:25 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-10-12 13:39:40 +0200 |
commit | 7b0b808c1838924e0b38f6aa216ee8e711d4196c (patch) | |
tree | 1d7a7edc2b0bf91be382b2ba527d593b85b50904 /daily-psk | |
parent | e0e48573b995d92ce13b9cea582ee8d939756270 (diff) |
add script 'daily-psk-schedule'
Diffstat (limited to 'daily-psk')
-rw-r--r-- | daily-psk | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -53,16 +53,6 @@ :return $return; } -# check mail server -:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up" ) do={ - :error "Mail server is not up."; -} - -# check time -:if ([ / system ntp client get status ] != "synchronized") do={ - :error "Time is not yet synchronized from ntp."; -} - :local date [ / system clock get date ]; :local newpsk [ $GeneratePSK $date ]; @@ -111,5 +101,3 @@ } } } - -/ system scheduler set disabled=yes [ find where name=daily-psk disabled=no ]; |