diff options
-rw-r--r-- | contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init | 2 |
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 15cb76d0f0..5c89fce268 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...' |