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

6 lines
170 B
Plaintext
Raw Permalink 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
}