summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/ipkg/postinst
blob: 4926583919a405eb2868b1e146e2be6850cfb979 (plain)
1
2
3
4
5
#!/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
}