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