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

6 lines
202 B
Bash

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