summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/ipkg/postinst
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-03-04 17:17:30 +0000
committerSteven Barth <steven@midlink.org>2009-03-04 17:17:30 +0000
commitb92e6532a0237b7b13e29c6c0c55943fc1cd7d77 (patch)
tree0fc2f5f612a856055636745f00e9ca18ecdaff11 /libs/nixio/ipkg/postinst
parenta5ae3959b5cde24880fb79a1e489eb839cdeb8c5 (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-xlibs/nixio/ipkg/postinst4
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
+}