summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/ipkg/postinst
blob: 8d9a034a19b2553a65bddbe0afb7c1401c956950 (plain)
1
2
3
4
5
6
7
#!/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
	/etc/init.d/olsrd6 enabled || /etc/init.d/olsrd6 enable
	exit 0
}