Commit graph

7 commits

Author SHA1 Message Date
Christian Hesse
afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse
2252058202 daily-psk: add hint about device specific rule
I tricked myself several times... If a more device specific (or just
earlier matching) rule exists the daily PSK is not applied!
2019-06-13 08:14:03 +02:00
Christian Hesse
fd2901cd45 daily-psk.capsman: pick only first configuration 2019-05-24 14:26:32 +02:00
Christian Hesse
7f96e5c966 global-functions: add $WaitForFile, wait for file on fetch
The fetch command is asynchronous, the file is not guaranteed to be
available when command terminates.

I opened an issue at Mikrotik support (Ticket#2019041722004999),
their answer:

> You should perform a check in a loop.
> :delay until file exist
>
> That can happen also with any configuration not just files.

So add a function to wait for a file with given name.

I have not seen this with other configuration, though.
2019-04-30 16:52:53 +02:00
Christian Hesse
b93d4d40bc drop deprecated mode= for fetch 2019-04-09 18:01:44 +02:00
Christian Hesse
228ec7106b daily-psk: use the template system 2019-04-03 22:51:15 +02:00
Michael Gisbers
cf09542635 daily-psk: prepare for caps-man
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-03-06 16:12:03 +01:00