summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:36:52 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:36:52 +0000
commit8cb296dff1704b8b7247ebe8635a54e8336edb58 (patch)
tree4bd459fded1b169683083342e433debb98e16e9c /dhcp_wizard
parent232ed05f74df058f955466b13b779e2624fd8f22 (diff)
downloaddrakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.gz
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.bz2
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.xz
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.zip
Fix search and replace for __WIZ_HOME__ and fix wrongly committed files
Diffstat (limited to 'dhcp_wizard')
-rw-r--r--dhcp_wizard/dhcp.wiz18
-rw-r--r--dhcp_wizard/scripts/Dhcpconf.pm4
2 files changed, 11 insertions, 11 deletions
diff --git a/dhcp_wizard/dhcp.wiz b/dhcp_wizard/dhcp.wiz
index a5f3d939..f253fc86 100644
--- a/dhcp_wizard/dhcp.wiz
+++ b/dhcp_wizard/dhcp.wiz
@@ -3,11 +3,11 @@
<Wizard
name="general"
- libScript="/usr/share/wizards/common/scripts/functions.sh"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="DHCP Wizard"
imagePosition="top"
- defaultImage="/usr/share/wizards/dhcp_wizard/images/DHCP"
- perlModule="/usr/share/wizards/dhcp_wizard/scripts/Dhcpconf.pm"
+ defaultImage="__WIZ_HOME__/dhcp_wizard/images/DHCP"
+ perlModule="__WIZ_HOME__/dhcp_wizard/scripts/Dhcpconf.pm"
rpm="dhcp-server"
>
@@ -30,7 +30,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html"
name="welcome"
- jumpScript="/usr/share/wizards/common/scripts/check.sh root wiz_ip_net"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -76,7 +76,7 @@
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html"
name="ask_dhcp_ip_range"
comment="Ask the dhcp ip range"
- jumpScript="/usr/share/wizards/dhcp_wizard/check_range.sh"
+ jumpScript="__WIZ_HOME__/dhcp_wizard/check_range.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -110,7 +110,7 @@
<Freetext
name="dhcpIpLow"
variableName="dhcp_range_low"
- fillScript="/usr/share/wizards/dhcp_wizard/compute_range1.sh"
+ fillScript="__WIZ_HOME__/dhcp_wizard/compute_range1.sh"
helpText="Lowest IP Address:"
editable="true"
>
@@ -119,7 +119,7 @@
<Freetext
name="dhcpIpHigh"
variableName="dhcp_range_high"
- fillScript="/usr/share/wizards/dhcp_wizard/compute_range2.sh"
+ fillScript="__WIZ_HOME__/dhcp_wizard/compute_range2.sh"
helpText="Highest IP Address:"
editable="true"
>
@@ -152,7 +152,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html"
name="doit"
- jumpScript="/usr/share/wizards/dhcp_wizard/do_it_dhcp.sh"
+ jumpScript="__WIZ_HOME__/dhcp_wizard/do_it_dhcp.sh"
nextButtonText="Configure"
executionLevel="NORMAL"
nextFinish="false"
@@ -249,7 +249,7 @@ needed to configure your DHCP service:"
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html"
name="error_need_net"
- subWizard="/usr/share/wizards/server_wizard/server.wiz"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
executionLevel="NORMAL"
nextFinish="false"
canBack="false"
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm
index 4b508565..3a3a3e8d 100644
--- a/dhcp_wizard/scripts/Dhcpconf.pm
+++ b/dhcp_wizard/scripts/Dhcpconf.pm
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package Dhcpconf;
-require "/usr/share/wizards/common/scripts/Vareqval.pm";
+require "__WIZ_HOME__/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, "< /usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default") or
+ open(OLD, "< __WIZ_HOME__/dhcp_wizard/scripts/dhcpd.conf.default") or
die "can't open default: $!";
while (<OLD>) {
s|__hname__|$wiz_host_name|g;