luci/applications/luci-olsr/ipkg/postinst
2010-07-01 09:52:12 +00:00

6 lines
178 B
Bash
Executable file

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