diff options
author | Steven Barth <steven@midlink.org> | 2009-03-04 17:17:30 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-03-04 17:17:30 +0000 |
commit | b92e6532a0237b7b13e29c6c0c55943fc1cd7d77 (patch) | |
tree | 0fc2f5f612a856055636745f00e9ca18ecdaff11 /libs/nixio/ipkg/postinst | |
parent | a5ae3959b5cde24880fb79a1e489eb839cdeb8c5 (diff) |
nixio: Autogenerate private key on installation if we have axtls
support, make the TLS provider configurable in the build menu
Diffstat (limited to 'libs/nixio/ipkg/postinst')
-rwxr-xr-x | libs/nixio/ipkg/postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/ipkg/postinst b/libs/nixio/ipkg/postinst new file mode 100755 index 000000000..0863c22a3 --- /dev/null +++ b/libs/nixio/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" -a -f "/etc/uci-defaults/nixio" ] || { + ( . /etc/uci-defaults/nixio ) && rm -f /etc/uci-defaults/nixio +} |