diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-29 23:13:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-29 23:13:35 +0000 |
commit | 34dcf69066e19f464ad49fbd04400da7498a816b (patch) | |
tree | 1e2986ed3879bc3c559d07a81d29f59308d45ef4 /etc/rc.linkup | |
parent | a0ee264a85af5675b1add8824de7e8376d80a093 (diff) | |
download | pfsense-34dcf69066e19f464ad49fbd04400da7498a816b.zip pfsense-34dcf69066e19f464ad49fbd04400da7498a816b.tar.gz |
$config needs to be a global. Someone needs a pointy-hat!
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 9313c9c..644ff82 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -46,9 +46,10 @@ } function handle_argument_group($argument1, $argument2) { + global $config; log_error("Processing {$argument1} - {$argument2}"); $iface = convert_real_interface_to_friendly_interface_name($argument1); - if($config['interfaces'][$friendly_interface]['ipaddr'] <> "dhcp" and + if($config['interfaces'][$iface]['ipaddr'] <> "dhcp" and $config['interfaces'][$iface]['ipaddr'] <> "pppoe" and $config['interfaces'][$iface]['ipaddr'] <> "bigpond" and $config['interfaces'][$iface]['ipaddr'] <> "pptp") { |