summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/Dhcp.pm
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-08-22 21:29:12 +0000
committerFlorent Villard <warly@mandriva.com>2003-08-22 21:29:12 +0000
commitde6e60435383dbebc186933d54b1b9bc68aba118 (patch)
tree0f8111bf3792d88d39d64fde0793e20dd7305607 /dhcp_wizard/Dhcp.pm
parent150bc87396011253a541ca0ad32250e926ab0ecc (diff)
downloaddrakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.gz
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.bz2
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.xz
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.zip
fix the IFCFG reset of PATH env var which breaks packages installation
Diffstat (limited to 'dhcp_wizard/Dhcp.pm')
-rwxr-xr-xdhcp_wizard/Dhcp.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm
index 831c5a38..ba9b71d1 100755
--- a/dhcp_wizard/Dhcp.pm
+++ b/dhcp_wizard/Dhcp.pm
@@ -19,15 +19,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-package Dhcp;
+package MDK::Wizard::Dhcp;
use strict;
-use standalone;
-use interactive;
use common;
use MDK::Wizard::Wizcommon;
-my $wiz = new Wizcommon;
+my $wiz = new MDK::Wizard::Wizcommon;
my $wiz_ip_server = $wiz->{net}->itf_get("IPADDR");
my $d = "$4" if $wiz_ip_server =~ /(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/;
my $s = "$1.$2.$3" if $wiz_ip_server =~ /(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/;