Fix init script #2885
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10064 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e7f44a8d20
commit
4f40e8f46e
@ -21,8 +21,8 @@ start_darkstat() {
|
|||||||
include /lib/network
|
include /lib/network
|
||||||
scan_interfaces
|
scan_interfaces
|
||||||
config_get ifname "$interface" ifname
|
config_get ifname "$interface" ifname
|
||||||
|
|
||||||
$BIN -d -i "${ifname:-$interface}" \
|
$BIN --debug -i "$interface" \
|
||||||
${httpaddr:+-b "$httpaddr"} \
|
${httpaddr:+-b "$httpaddr"} \
|
||||||
${httpport:+-p "$httpport"}
|
${httpport:+-p "$httpport"}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user