diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:18:07 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:18:07 +0000 |
commit | 06f1b01191416ac81e3976938349e7208bf5a557 (patch) | |
tree | 56170974ad18df10821bff87b5894ded6f84c393 /dhcp_wizard | |
parent | 4ded1b990f4c8ec20b47c9020413688cc9c3e9ef (diff) | |
download | drakwizard-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')
-rw-r--r-- | dhcp_wizard/dhcp.wiz | 18 | ||||
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/dhcp_wizard/dhcp.wiz b/dhcp_wizard/dhcp.wiz index f253fc86..a5f3d939 100644 --- a/dhcp_wizard/dhcp.wiz +++ b/dhcp_wizard/dhcp.wiz @@ -3,11 +3,11 @@ <Wizard name="general" - libScript="__WIZ_HOME__/common/scripts/functions.sh" + libScript="/usr/share/wizards/common/scripts/functions.sh" wizardTitle="DHCP Wizard" imagePosition="top" - defaultImage="__WIZ_HOME__/dhcp_wizard/images/DHCP" - perlModule="__WIZ_HOME__/dhcp_wizard/scripts/Dhcpconf.pm" + defaultImage="/usr/share/wizards/dhcp_wizard/images/DHCP" + perlModule="/usr/share/wizards/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="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + jumpScript="/usr/share/wizards/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="__WIZ_HOME__/dhcp_wizard/check_range.sh" + jumpScript="/usr/share/wizards/dhcp_wizard/check_range.sh" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -110,7 +110,7 @@ <Freetext name="dhcpIpLow" variableName="dhcp_range_low" - fillScript="__WIZ_HOME__/dhcp_wizard/compute_range1.sh" + fillScript="/usr/share/wizards/dhcp_wizard/compute_range1.sh" helpText="Lowest IP Address:" editable="true" > @@ -119,7 +119,7 @@ <Freetext name="dhcpIpHigh" variableName="dhcp_range_high" - fillScript="__WIZ_HOME__/dhcp_wizard/compute_range2.sh" + fillScript="/usr/share/wizards/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="__WIZ_HOME__/dhcp_wizard/do_it_dhcp.sh" + jumpScript="/usr/share/wizards/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="__WIZ_HOME__/server_wizard/server.wiz" + subWizard="/usr/share/wizards/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 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; |