summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-mmc-over-gpio/ipkg/postinst
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-08 23:41:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-08 23:41:50 +0000
commit1ac4b1324650068f86d2a0cfed5ecbebe3d8d7dc (patch)
tree6c59f92158d10fdce5b18fb05b8d800db740bb7b /applications/luci-mmc-over-gpio/ipkg/postinst
parent087776d3b4a26704dd907b9562c50326e77cf9b9 (diff)
trunk: remove underscores in app names (Openwrt ticket #6654)
Diffstat (limited to 'applications/luci-mmc-over-gpio/ipkg/postinst')
-rw-r--r--applications/luci-mmc-over-gpio/ipkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-mmc-over-gpio/ipkg/postinst b/applications/luci-mmc-over-gpio/ipkg/postinst
new file mode 100644
index 000000000..d88cfb963
--- /dev/null
+++ b/applications/luci-mmc-over-gpio/ipkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-mmc_over_gpio ) && rm -f /etc/uci-defaults/luci-mmc_over_gpio
+ /etc/init.d/mmc_over_gpio enabled || /etc/init.d/mmc_over_gpio enable
+}