flm01/openwrt/package/luci/applications/luci-p910nd/ipkg/postinst

6 lines
176 B
Plaintext
Raw Normal View History

#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-p910nd ) && rm -f /etc/uci-defaults/luci-p910nd
/etc/init.d/p910nd enabled || /etc/init.d/p910nd enable
}