diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-04-30 11:57:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-04-30 11:57:25 +0000 |
commit | 13324cb1ab850679a562aad101eea5f90ac1cd19 (patch) | |
tree | de31dde41d33dcac6243b21b8319c87aa78d580e /lib | |
parent | e1cac2e3c887510164df48354f6a4f8462398191 (diff) | |
download | drakx-net-13324cb1ab850679a562aad101eea5f90ac1cd19.tar drakx-net-13324cb1ab850679a562aad101eea5f90ac1cd19.tar.gz drakx-net-13324cb1ab850679a562aad101eea5f90ac1cd19.tar.bz2 drakx-net-13324cb1ab850679a562aad101eea5f90ac1cd19.tar.xz drakx-net-13324cb1ab850679a562aad101eea5f90ac1cd19.zip |
remove old unused configuration variables
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/network.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm index fa8df00..307b5b9 100644 --- a/lib/network/network.pm +++ b/lib/network/network.pm @@ -786,12 +786,6 @@ sub easy_dhcp { my $dhcp_intf = $ether_dev[0]; log::explanations("easy_dhcp: found $dhcp_intf"); - put_in_hash($net->{network}, { - NETWORKING => "yes", - DHCP => "yes", - NET_DEVICE => $dhcp_intf, - NET_INTERFACE => $dhcp_intf, - }); $net->{ifcfg}{$dhcp_intf} ||= {}; put_in_hash($net->{ifcfg}{$dhcp_intf}, { DEVICE => $dhcp_intf, @@ -799,8 +793,6 @@ sub easy_dhcp { NETMASK => '255.255.255.0', ONBOOT => 'yes' }); - $net->{type} = 'lan'; - $net->{net_interface} = $dhcp_intf; 1; } |