flm01/openwrt/package/luci/applications/luci-olsr/ipkg/.svn/text-base/postinst.svn-base

6 lines
170 B
Bash

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