summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/ipkg/postinst
blob: 448025b76111caf63f722ef81644d91a210992ca (plain)
1
2
3
4
5
6
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-p2pblock ) && rm -f /etc/uci-defaults/luci-p2pblock
	/etc/init.d/freifunk-p2pblock enabled || /etc/init.d/freifunk-p2pblock enable
	exit 0
}