summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-gwcheck/ipkg/postinst
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-09-23 19:23:18 +0000
committerManuel Munz <freifunk@somakoma.de>2011-09-23 19:23:18 +0000
commitd8e4734b23016cea5c5099f84a7f2ffbab8e6216 (patch)
treecb1f06928a006357b7e0a532dd0765dc76ffc87d /contrib/package/freifunk-gwcheck/ipkg/postinst
parent9ed39e1431395bb84c486df94bc0a3660d7f0936 (diff)
contrib/package: Add freifunk-gwcheck to replace the gateway-check in modules/freifunk
Diffstat (limited to 'contrib/package/freifunk-gwcheck/ipkg/postinst')
-rw-r--r--contrib/package/freifunk-gwcheck/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/package/freifunk-gwcheck/ipkg/postinst b/contrib/package/freifunk-gwcheck/ipkg/postinst
new file mode 100644
index 0000000000..1c5308ff69
--- /dev/null
+++ b/contrib/package/freifunk-gwcheck/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/freifunk-gwcheck ) && rm -f /etc/uci-defaults/freifunk-gwcheck
+}