diff options
Diffstat (limited to 'applications/luci-mmc-over-gpio/ipkg')
-rw-r--r-- | applications/luci-mmc-over-gpio/ipkg/postinst | 5 |
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 0000000000..d88cfb963b --- /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 +} |