mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-23 08:35:19 +00:00
Lauri Võsandi
4e4b551cc2
* Reverse RDN components for all certs * Less side effects in unittests * Split help dialog shell snippets into separate files * Restore 'admin subnets' config option * Embedded subnets, IKE and ESP proposals now configurable in builder.conf * Use expr instead of bc for math operations in shell * Better frontend support for Let's Encrypt certificates
11 lines
270 B
Bash
11 lines
270 B
Bash
#!/bin/sh
|
|
|
|
# To test: ACTION=ifup INTERFACE=wan sh /etc/hotplug.d/iface/50-certidude
|
|
|
|
AUTHORITY=certidude.@authority[0]
|
|
|
|
[ $ACTION == "ifup" ] || exit 0
|
|
[ $INTERFACE == "$(uci get $AUTHORITY.trigger)" ] || exit 0
|
|
|
|
/usr/bin/certidude-enroll > /var/log/certidude.log 2>&1
|