aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.capsman
AgeCommit message (Collapse)AuthorFilesLines
2020-09-18extend magic pattern with "by RouterOS"Gravatar Christian Hesse1-1/+1
This matches the string included in export.
2020-08-26[ ... print count-only ...] -> [ :len [ ... find ... ] ]Gravatar Christian Hesse1-1/+1
Using 'print count-only' always prints a number to terminal, even if the value is evaluated in a condition or assigned to a variable. This can be quite annoying. Behavior will not chance (SUP-25503), so replacing the code...
2020-06-19explicitly name the licenseGravatar Christian Hesse1-0/+1
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. https://www.gnu.org/licenses/#GPL https://www.gnu.org/licenses/gpl.html https://www.gnu.org/licenses/gpl.md
2020-05-27daily-psk: wait to be fully connectedGravatar Christian Hesse1-1/+3
2020-03-27add doc/daily-psk.mdGravatar Christian Hesse1-0/+1
2020-03-05daily-psk: use $LogPrintExitGravatar Christian Hesse1-3/+4
2020-01-01update copyright for 2020Gravatar Christian Hesse1-1/+1
2019-06-13daily-psk: add hint about device specific ruleGravatar Christian Hesse1-0/+1
I tricked myself several times... If a more device specific (or just earlier matching) rule exists the daily PSK is not applied!
2019-05-24daily-psk.capsman: pick only first configurationGravatar Christian Hesse1-1/+1
2019-04-30global-functions: add $WaitForFile, wait for file on fetchGravatar Christian Hesse1-1/+3
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-09drop deprecated mode= for fetchGravatar Christian Hesse1-1/+1
2019-04-03daily-psk: use the template systemGravatar Christian Hesse1-0/+2
2019-03-06daily-psk: prepare for caps-manGravatar Michael Gisbers1-0/+90
Signed-off-by: Christian Hesse <mail@eworm.de>