summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/ipkg/postinst
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
commit74fd320885823ababc05c3962dadb96f615c02ed (patch)
treec09b37aacaab65d1bb7163318cc162f279f4c3ba /applications/luci-p2pblock/ipkg/postinst
parent22a9d2ba01f0794f894f7eb0849dfab8915aec1f (diff)
applications: add luci-p2pblock, frontend for freifunk-p2pblock
Diffstat (limited to 'applications/luci-p2pblock/ipkg/postinst')
-rwxr-xr-xapplications/luci-p2pblock/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-p2pblock/ipkg/postinst b/applications/luci-p2pblock/ipkg/postinst
new file mode 100755
index 000000000..b097c29cd
--- /dev/null
+++ b/applications/luci-p2pblock/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-p2pblock ) && rm -f /etc/uci-defaults/luci-p2pblock
+}