summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/scripts
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:18:07 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:18:07 +0000
commit06f1b01191416ac81e3976938349e7208bf5a557 (patch)
tree56170974ad18df10821bff87b5894ded6f84c393 /dhcp_wizard/scripts
parent4ded1b990f4c8ec20b47c9020413688cc9c3e9ef (diff)
downloaddrakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.gz
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.bz2
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.xz
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.zip
Add support for server-settings: for GNOME 2
Diffstat (limited to 'dhcp_wizard/scripts')
-rw-r--r--dhcp_wizard/scripts/Dhcpconf.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm
index 3a3a3e8d..4b508565 100644
--- a/dhcp_wizard/scripts/Dhcpconf.pm
+++ b/dhcp_wizard/scripts/Dhcpconf.pm
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package Dhcpconf;
-require "__WIZ_HOME__/common/scripts/Vareqval.pm";
+require "/usr/share/wizards/common/scripts/Vareqval.pm";
use MDK::Common;
use strict;
@@ -66,7 +66,7 @@ sub do_it {
die "can't make a temp file: $!";
open(NEW, "> $tmp") or
die "can't open $tmp: $!";
- open(OLD, "< __WIZ_HOME__/dhcp_wizard/scripts/dhcpd.conf.default") or
+ open(OLD, "< /usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default") or
die "can't open default: $!";
while (<OLD>) {
s|__hname__|$wiz_host_name|g;