projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trunk: remove underscores in app names (Openwrt ticket #6654)
[project/luci.git]
/
applications
/
luci-mmc-over-gpio
/
ipkg
/
postinst
diff --git a/applications/luci-mmc-over-gpio/ipkg/postinst
b/applications/luci-mmc-over-gpio/ipkg/postinst
new file mode 100644
(file)
index 0000000..
d88cfb9
--- /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
+}