summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-radvd/ipkg/postinst
blob: 88aaf83308a7b2c6d333ad5f520d1100cd4764a7 (plain)
1
2
3
4
5
6
7
#!/bin/sh

[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-radvd ) && rm -f /etc/uci-defaults/luci-radvd
	/etc/init.d/radvd enabled || /etc/init.d/radvd enable
	exit 0
}