diff options
Diffstat (limited to 'firewall_wizard')
-rw-r--r-- | firewall_wizard/firewall.wiz | 18 | ||||
-rw-r--r-- | firewall_wizard/scripts/FWconf.pm | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/firewall_wizard/firewall.wiz b/firewall_wizard/firewall.wiz index ba689abd..bd9b6084 100644 --- a/firewall_wizard/firewall.wiz +++ b/firewall_wizard/firewall.wiz @@ -3,11 +3,11 @@ <Wizard name="general" - libScript="__WIZ_HOME__/common/scripts/functions.sh" + libScript="/usr/share/wizards/common/scripts/functions.sh" wizardTitle="Firewall wizard" imagePosition="top" - defaultImage="__WIZ_HOME__/firewall_wizard/images/firewall" - perlModule="__WIZ_HOME__/firewall_wizard/scripts/FWconf.pm" + defaultImage="/usr/share/wizards/firewall_wizard/images/firewall" + perlModule="/usr/share/wizards/firewall_wizard/scripts/FWconf.pm" > <Variable @@ -29,7 +29,7 @@ <Page helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.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" @@ -149,7 +149,7 @@ <Page helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" name="choose_net_device" - jumpScript="__WIZ_HOME__/firewall_wizard/check_ext_device.sh" + jumpScript="/usr/share/wizards/firewall_wizard/check_ext_device.sh" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -183,8 +183,8 @@ <Chooser name="deviceChooser" variableName="firewallDevice" - defaultOptionScript="__WIZ_HOME__/firewall_wizard/compute_ext_device.sh" - fillScript="__WIZ_HOME__/firewall_wizard/liste_ext_device.sh" + defaultOptionScript="/usr/share/wizards/firewall_wizard/compute_ext_device.sh" + fillScript="/usr/share/wizards/firewall_wizard/liste_ext_device.sh" helpText="Device" helpFontName="Default" helpFontStyle="plain" @@ -249,7 +249,7 @@ needed to configure your firewall:" <Freetext name="freetext" - fillScript="__WIZ_HOME__/firewall_wizard/compute_level_name.sh" + fillScript="/usr/share/wizards/firewall_wizard/compute_level_name.sh" helpText="Protection Level:" editable="false" > @@ -329,7 +329,7 @@ needed to configure your firewall:" <Page helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.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/firewall_wizard/scripts/FWconf.pm b/firewall_wizard/scripts/FWconf.pm index 87ecc226..31c0f23c 100644 --- a/firewall_wizard/scripts/FWconf.pm +++ b/firewall_wizard/scripts/FWconf.pm @@ -1,7 +1,7 @@ #!/usr/bin/perl package FWconf; -require "__WIZ_HOME__/common/scripts/Vareqval.pm"; +require "/usr/share/wizards/common/scripts/Vareqval.pm"; use MDK::Common; #use strict; @@ -34,7 +34,7 @@ sub do_it { store_fwall(); - my %conf = ("__WIZ_HOME__/firewall_wizard/scripts/bastille-firewall.cfg.default" => + my %conf = ("/usr/share/wizards/firewall_wizard/scripts/bastille-firewall.cfg.default" => "/etc/Bastille/bastille-firewall.cfg", "/usr/share/Bastille/bastille-firewall" => "/etc/init.d/bastille-firewall", "/usr/share/Bastille/bastille_ipchains" => "/sbin/bastille-ipchains", |