Fix init script #2885
authorFlorian Fainelli <florian@openwrt.org>
Sun, 30 Dec 2007 20:08:09 +0000 (20:08 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 30 Dec 2007 20:08:09 +0000 (20:08 +0000)
SVN-Revision: 10064

net/darkstat/files/darkstat.init

index acdd286819f853401dc42682b46cbe6b86cb7259..ac45abf6d4a0bb1fb6d435e4d8bb86d4a322ec45 100755 (executable)
@@ -21,8 +21,8 @@ start_darkstat() {
        include /lib/network
        scan_interfaces
        config_get ifname "$interface" ifname
-       
-       $BIN -d -i "${ifname:-$interface}" \
+
+       $BIN --debug -i "$interface" \  
                ${httpaddr:+-b "$httpaddr"}  \
                ${httpport:+-p "$httpport"}
 }