Update darkstat to 3.0.708 (#2885)
[openwrt/svn-archive/archive.git] / net / darkstat / files / darkstat.init
index ac45abf..4f32268 100644 (file)
@@ -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
 }