scripts/kconfig.pl: backport changes from trunk
[openwrt-10.03/.git] / package / wprobe / files / wprobe.init
index 11a5bf6e14b5b672d559e53811ee3c36a8977ec1..b35246d42ed197cbad9e94a3a776221c543c80ed 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
 START=90
-EXPORTER=/usr/sbin/wprobe-ipfix
+EXPORTER=/sbin/wprobe-export
 UTIL=/sbin/wprobe-util
 
 wprobe_ssd() {
@@ -25,12 +25,12 @@ config_wprobe() {
 
 start_proxy() {
        config_get port "$cfg" port
-       wprobe_ssd -S proxy "$UTIL" -P -p "${port:-19770}"
+       wprobe_ssd -S proxy "$UTIL" -P -p "${port:-17990}"
 }
 
 start_ipfix() {
        local cfg="$1"
-       config_get ifname "$cfg" interface
+       config_get ifname "$cfg" ifname
        config_get host "$cfg" host
        config_get port "$cfg" port
        config_get proto "$cfg" proto