Procházet zdrojové kódy

wprobe: fix interface selection. Thanks morpheus, Freifunk Aurich

SVN-Revision: 18946
Andy Boyett před 16 roky
rodič
revize
3c175fb47c
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      package/wprobe/files/wprobe.init

+ 2 - 2
package/wprobe/files/wprobe.init

@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
 #!/bin/sh /etc/rc.common
 START=90
 START=90
-EXPORTER=/usr/sbin/wprobe-ipfix
+EXPORTER=/sbin/wprobe-export
 UTIL=/sbin/wprobe-util
 UTIL=/sbin/wprobe-util
 
 
 wprobe_ssd() {
 wprobe_ssd() {
@@ -30,7 +30,7 @@ start_proxy() {
 
 
 start_ipfix() {
 start_ipfix() {
 	local cfg="$1"
 	local cfg="$1"
-	config_get ifname "$cfg" interface
+	config_get ifname "$cfg" ifname
 	config_get host "$cfg" host
 	config_get host "$cfg" host
 	config_get port "$cfg" port
 	config_get port "$cfg" port
 	config_get proto "$cfg" proto
 	config_get proto "$cfg" proto