Update darkstat to 3.0.708 (#2885)
[openwrt/svn-archive/archive.git] / net / darkstat / files / darkstat.init
old mode 100755 (executable)
new mode 100644 (file)
index ac45abf..4f32268
@@ -22,9 +22,10 @@ start_darkstat() {
        scan_interfaces
        config_get ifname "$interface" ifname
 
-       $BIN --debug -i "$interface" \  
-               ${httpaddr:+-b "$httpaddr"}  \
-               ${httpport:+-p "$httpport"}
+       $BIN --debug -i "$interface" \
+               ${httpaddr:+-b "$httpaddr"} \
+               ${httpport:+-p "$httpport"} \
+               --chroot $RUN_D
 }