flm01/mote/v1/openwrt/package/luci/applications/luci-olsr/ipkg/postinst

6 lines
170 B
Plaintext
Raw Normal View History

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