summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-p2pblock
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/freifunk-p2pblock')
-rw-r--r--contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
index 15cb76d0f..5c89fce26 100644
--- a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
+++ b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
@@ -12,6 +12,8 @@ ipt_add() {
}
start() {
+ /etc/init.d/freifunk-p2pblock enabled || return
+
if [ ! -s "$LOCK" ]; then
logger -s -t "$ME" 'starting p2pblock...'