luci-0.8: merge r4792
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 20:23:08 +0000 (20:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 20:23:08 +0000 (20:23 +0000)
contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init

index 15cb76d0f0858d4454ded2ca6a15655e89a4052b..5c89fce2682b5ef49998215ad4977c06c03a4569 100644 (file)
@@ -12,6 +12,8 @@ ipt_add() {
 }
 
 start() {
+       /etc/init.d/freifunk-p2pblock enabled || return
+
        if [ ! -s "$LOCK" ]; then
                logger -s -t "$ME" 'starting p2pblock...'