summaryrefslogtreecommitdiffhomepage
path: root/libs/px5g/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'libs/px5g/ipkg/postinst')
-rwxr-xr-xlibs/px5g/ipkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/px5g/ipkg/postinst b/libs/px5g/ipkg/postinst
new file mode 100755
index 000000000..a221b34a3
--- /dev/null
+++ b/libs/px5g/ipkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+[ -z "${IPKG_INSTROOT}" -a -f "/etc/uci-defaults/px5g" ] && {
+ ( . /etc/uci-defaults/px5g ) && rm -f /etc/uci-defaults/px5g
+ exit
+}
+exit 0