summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-02 21:27:47 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-02 21:27:47 +0000
commit1de7408159d73ffb15aad4a64c2be3fc0c0b2757 (patch)
treee998ccbf86422a86ba33f1447ff38f7161f98683
parent90a894783ab32f55268ff671f8eb5c9a8062542e (diff)
downloadpfsense-1de7408159d73ffb15aad4a64c2be3fc0c0b2757.zip
pfsense-1de7408159d73ffb15aad4a64c2be3fc0c0b2757.tar.gz
Ticket #329. Fix typo on awk binary.
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a93cc85..12d2e18 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2815,7 +2815,7 @@ function get_wireless_modes($interface) {
$wi = 1;
$chan_list = "/sbin/ifconfig {$cloned_interface} list chan";
$stack_list = "/usr/bin/awk -F\"Channel \" '{ gsub(/\\*/, \" \"); print \$2 \"\\\n\" \$3 }'";
- $format_list = "$awk '{print \$5 \" \" \$6 \",\" \$1}'";
+ $format_list = "/usr/bin/awk '{print \$5 \" \" \$6 \",\" \$1}'";
$interface_channels = "";
exec("$chan_list | $stack_list | sort -u | $format_list 2>&1", $interface_channels);
OpenPOWER on IntegriCloud