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

6 lines
204 B
Bash

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