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

6 lines
176 B
Bash

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