diff options
author | Ermal <eri@pfsense.org> | 2010-11-19 00:03:34 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-19 00:03:34 +0000 |
commit | d8333a247a544a4d95d977ab3c324502fe037619 (patch) | |
tree | 99fcb729e54722dfcbc13d38d20beb621dd76131 | |
parent | 01a6e66579ca5ab3026da64862108d619ce9f2c6 (diff) | |
download | pfsense-d8333a247a544a4d95d977ab3c324502fe037619.zip pfsense-d8333a247a544a4d95d977ab3c324502fe037619.tar.gz |
Use full path when we might not have full environment setup.
-rw-r--r-- | etc/inc/globals.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index b8593dc..3c28958 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -41,7 +41,7 @@ function remove_numbers($string) { } function get_nics_with_capabilities($CAPABILITIES) { - $ifs = `ifconfig -l`; + $ifs = `/sbin/ifconfig -l`; $if_list = split(" ", $ifs); $vlan_native_supp = array(); foreach($if_list as $if => $iface) { @@ -166,4 +166,4 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", $config_inc_loaded = false; -?>
\ No newline at end of file +?> |