flm01/openwrt/package/luci/applications/luci-mmc-over-gpio/ipkg/postinst

6 lines
204 B
Plaintext
Raw Permalink Normal View History

#!/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
}