diff options
Diffstat (limited to 'common/IFCFG.pm')
-rw-r--r-- | common/IFCFG.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/IFCFG.pm b/common/IFCFG.pm index e86128d1..0d0c96b2 100644 --- a/common/IFCFG.pm +++ b/common/IFCFG.pm @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -package IFCFG; +package MDK::Wizard::IFCFG; use strict; use lib qw(/usr/lib/libDrakX); use Data::Dumper; @@ -27,10 +27,9 @@ use network::network; #my $file = "/etc/sysconfig/network-scripts/drakconnect_conf"; #!-f $file and die "no such $file"; -sub new { +sub new { my $self = {}; - $ENV{PATH} = ""; my $ifconfig = `LC_ALL=C /sbin/ifconfig -a`; my $device = 'NONE'; my @interfaces; |