Christian Hesse
3cdd0fb94b
global-functions: properly define global functions
2018-12-28 22:56:29 +01:00
Christian Hesse
ea55464434
global-functions: update comment in $SendNotification
2018-12-28 22:56:29 +01:00
Christian Hesse
ac2e6cfc61
global-functions: add $DownloadPackage
...
... and make script 'capsman-download-packages' use it.
2018-12-28 22:56:07 +01:00
Christian Hesse
30166cc287
capsman-download-packages: move condition to loop
2018-12-28 18:50:22 +01:00
Christian Hesse
58d105da00
remove script 'remove-packages'
...
Use script 'capsman-download-packages' to download and
cleanup packages...
2018-12-27 21:50:17 +01:00
Christian Hesse
1131d8ee41
capsman-download-packages: act in package-path only
2018-12-27 21:42:30 +01:00
Christian Hesse
0ecb0749fd
capsman-download-packages: do not restart service...
...
... but disconnect old CAPs and force reconnect with update.
2018-12-27 21:36:31 +01:00
Michael Gisbers
e1f5f7254a
capsman-download-packages: rewrite package-name from wireless@ to wireless
...
Signed-off-by: Michael Gisbers <michael@gisbers.de>
Signed-off-by: Christian Hesse <mail@eworm.de>
2018-12-27 21:32:00 +01:00
Christian Hesse
ecc475af3e
add script 'capsman-download-packages'
2018-12-27 02:19:27 +01:00
Christian Hesse
ee5eefefc3
global-functions: add $GetMacVendor
2018-12-27 00:48:56 +01:00
Christian Hesse
2505e5d42f
remove-packages: delay if uptime less than one minute
2018-12-21 11:38:04 +01:00
Christian Hesse
f4673928ef
global-functions: make $CertificateAvailable work on CommonName
...
This should prevent endless certificate switching for Let's Encrypt
cross-signed intermediate certificates.
2018-12-20 22:21:00 +01:00
Christian Hesse
abdc9b0cbd
README: add Root CA certificate DST Root CA X3
...
This is used by Let's Encrypt to cross-sign.
2018-12-20 17:25:23 +01:00
Christian Hesse
44be3d8d07
check-certificates: support auto-renew of certificates
2018-12-20 15:55:40 +01:00
Christian Hesse
ee49fe3184
update-gre-address: remove settings from global-config
...
Instead read infos from gre interface comment.
2018-12-19 17:22:36 +01:00
Christian Hesse
9f077ab8bf
ipv6-update: remove settings from global-config
...
Instead make it more robust by reading comments.
2018-12-19 16:48:34 +01:00
Christian Hesse
6f606f9ca5
email-backup: support cloud backup
2018-12-18 22:48:28 +01:00
Christian Hesse
be68c739a8
README: add initial commands for copy and paste
2018-12-18 21:47:47 +01:00
Christian Hesse
f97b45b5b8
check-lte-firmware-update: strip the extra line break
2018-12-17 11:36:41 +01:00
Christian Hesse
9346df67d7
add script 'check-lte-firmware-update'
2018-12-14 23:04:18 +01:00
Christian Hesse
b8830ee6a5
collect-wireless-mac: send the mac's vendor part only
2018-12-14 12:48:01 +01:00
Christian Hesse
eda89ba643
collect-wireless-mac: get and record the vendor
2018-12-14 12:35:06 +01:00
Christian Hesse
65283ce76d
email-backup: try without delay
2018-12-13 09:15:00 +01:00
Christian Hesse
a0fb616715
remove extra dollar sign
2018-12-12 21:57:17 +01:00
Christian Hesse
dee4495c0c
email-backup: send backup and config export in one mail
2018-12-12 21:54:29 +01:00
Christian Hesse
587fef5451
email-backup: export terse
2018-12-12 21:32:50 +01:00
Christian Hesse
6e4d715937
global-functions: add identity tag in $SendNotification
...
... and send subject in telegram message.
2018-11-28 21:19:39 +01:00
Christian Hesse
c4f8c1ad52
global-config: add identity tag
2018-11-26 13:45:02 +01:00
Christian Hesse
cdb85460bd
ip-addr-bridge: ignore bridges without ports
...
Bridges are used for loopback... Assume we do not want to disable
addresses if the bridge has no ports.
2018-11-26 11:12:24 +01:00
Christian Hesse
015f8e01b5
global-config: sort sms-action alphabetically
2018-11-13 10:20:45 +01:00
Christian Hesse
e17389749f
global-config: add more examples for mode button and sms-action
2018-11-13 10:20:14 +01:00
Christian Hesse
ec2f976be0
global-functions: use 'print count-only'
2018-11-09 21:38:56 +01:00
Christian Hesse
e486332d36
check-routeros-update: use 'print count-only'
2018-11-09 21:37:19 +01:00
Christian Hesse
7fcb253f32
learn-mac-based-vlan: move log inside condition
2018-11-09 21:35:56 +01:00
Christian Hesse
cb08d5280b
learn-mac-based-vlan: use 'print count-only'
2018-11-09 21:35:06 +01:00
Christian Hesse
3e9c5a3b6d
dhcp-to-dns: use 'print count-only'
2018-11-09 21:32:01 +01:00
Christian Hesse
313cc2913a
lease-script: use 'print count-only'
2018-11-09 21:28:35 +01:00
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