Commit graph

95 commits

Author SHA1 Message Date
Christian Hesse
7843574cd6 add script 'ip-addr-bridge' 2018-11-09 21:27:52 +01:00
Christian Hesse
0b121705b2 accesslist-duplicates: support interactive removal 2018-11-09 21:23:12 +01:00
Christian Hesse
ecf75697ba global-functions: add function to read user input 2018-11-09 21:13:18 +01:00
Christian Hesse
b6e2b8c3e4 bridge-port-to-default: delay only when required 2018-10-25 20:48:48 +02:00
Christian Hesse
6b089a1425 bridge-port-to-default: delay for global-config
All scripts scheduled with "start-time=startup interval=0" start
simultaneously, thus racing on global variables. So delay for
a second and give global-config time to finish.
2018-10-25 12:50:56 +02:00
Christian Hesse
b239853303 bridge-port-to-default: drop unused code, :toarray strips itself 2018-10-25 12:15:08 +02:00
Christian Hesse
a187a4361a bridge-port-to-default: fix variable name 2018-10-25 11:38:20 +02:00
Christian Hesse
b62f9b7a65 script-updates: run global-functions on update 2018-10-16 21:22:47 +02:00
Christian Hesse
5a6650b40e README: do not print the certificates but count them 2018-10-16 16:31:59 +02:00
Christian Hesse
f111669673 README: download certificates from repository 2018-10-16 16:31:57 +02:00
Christian Hesse
d81e1bf195 global-functions: import certificates if required
Signed-off-by: Christian Hesse <mail@eworm.de>
2018-10-16 16:06:25 +02:00
Christian Hesse
96fbb41b7e daily-psk: add error handling for fetch 2018-10-15 10:23:07 +02:00
Christian Hesse
bfca11c9ad global-functions: fix missing colon 2018-10-15 09:57:13 +02:00
Christian Hesse
c9175d8e5e global-functions: make sure parameters are strings 2018-10-12 14:07:47 +02:00
Christian Hesse
7b0b808c18 add script 'daily-psk-schedule' 2018-10-12 13:39:40 +02:00
Christian Hesse
e0e48573b9 netwatch-syslog: set dont-require-permissions=yes
... and drop the scheduler workaround.
2018-10-12 11:17:39 +02:00
Christian Hesse
4eba04b9c4 script-updates: allow to set dont-require-permissions=yes
This requires the new script to contain a line:

# requires: dont-require-permissions=yes
2018-10-12 11:15:46 +02:00
Christian Hesse
28df37708c mode-button-event: decrease interval, but update start time 2018-10-11 22:39:25 +02:00
Christian Hesse
1bbbe3a5a7 global: remove unused variables 2018-10-10 21:49:46 +02:00
Christian Hesse
9f4b6fac44 daily-psk: merge with email-daily-psk 2018-10-10 21:47:33 +02:00
Christian Hesse
92bb1d107c daily-psk: move function GeneratePSK from global-functions 2018-10-10 20:45:00 +02:00
Christian Hesse
ba076db93e check-routeros-update: send notification on auto-update 2018-10-10 12:49:03 +02:00
Christian Hesse
7aae1bf9dd global-config: default for telegram is empty strings...
... to make sure the api is not flooded with invalid requests.
2018-10-10 10:22:18 +02:00
Christian Hesse
4e02260ad7 README: now that we need three scripts... download and add in loop 2018-10-09 21:36:14 +02:00
Christian Hesse
cec61183eb global-functions: add UrlEncode and use in SendNotification 2018-10-09 16:56:29 +02:00
Christian Hesse
2e64b97888 sms-forward: use function for notification 2018-10-09 15:57:53 +02:00
Christian Hesse
e6c217aa0c check-routeros-update: use function for notification 2018-10-09 15:57:53 +02:00
Christian Hesse
e89779ff9f check-certificates: use function for notification 2018-10-09 15:57:53 +02:00
Christian Hesse
f262ff99a8 collect-wireless-mac: use function for notification 2018-10-09 15:57:53 +02:00
Christian Hesse
9d53c82d1c email-daily-psk: use function for notification 2018-10-09 15:47:29 +02:00
Christian Hesse
5e4ef0ab8f global-functions: add function to notify via e-mail and telegram 2018-10-09 15:46:39 +02:00
Christian Hesse
977a5d5f5e global-functions: move daily psk secrets to global-config 2018-10-09 14:17:19 +02:00
Christian Hesse
7b4bef1a1e make GeneratePSK a global function 2018-10-09 14:15:34 +02:00
Christian Hesse
9c3f3b9f20 add global-functions 2018-10-09 14:15:34 +02:00
Christian Hesse
7e9252064e lease-script: line breaks for array 2018-10-09 14:15:34 +02:00
Christian Hesse
0896d81bb0 bridge-port-to-default: strip leading blank from comment 2018-10-04 22:13:05 +02:00
Christian Hesse
311475e67c add script 'bridge-port-toggle'
... to toggle between configuration 'default' and 'alt'.
2018-10-04 14:03:09 +02:00
Christian Hesse
17f64b48af bridge-port-to-default: support different configurations
Just add something like this to your bridge ports:

comment="default:br-ext,alt:br-intern"
2018-10-04 13:56:09 +02:00
Christian Hesse
ea4b739d00 global-config: add missing semicolons 2018-10-04 13:32:21 +02:00
Christian Hesse
5303c034b9 script-updates: make sure new script starts with magic 2018-09-28 21:44:03 +02:00
Christian Hesse
be673737d3 start scripts with a magic token / shebang 2018-09-27 00:18:43 +02:00
Christian Hesse
4273459f11 sms-forward: make handling of SMS with action more robust 2018-09-23 22:27:01 +02:00
Christian Hesse
2b09b1974a check-routeros-update: add missing space, break line 2018-09-20 20:33:19 +02:00
Christian Hesse
ddfa6d9053 check-routeros-update: send versions to safe-update-url 2018-09-19 22:18:42 +02:00
Christian Hesse
76dbc98013 rotate-ntp: warn if ntp client is disabled 2018-09-18 23:46:24 +02:00
Christian Hesse
74d59641e6 README: add more general certificate information 2018-09-14 20:40:21 +02:00
Christian Hesse
ea5083a427 script-updates: add error handling back in
We have to make sure the script does not terminate on first error...
2018-09-14 11:10:03 +02:00
Christian Hesse
8b1ed433ed README: rename and verify certificates 2018-09-14 10:39:46 +02:00
Christian Hesse
5fff04ed0e fix typos 2018-09-13 22:25:38 +02:00
Christian Hesse
bd46c2d63b mode-button-scheduler: sync with sms-action 2018-09-13 22:07:58 +02:00