summaryrefslogtreecommitdiffstats
path: root/firewall_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 /firewall_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 'firewall_wizard')
-rw-r--r--firewall_wizard/firewall.wiz18
-rw-r--r--firewall_wizard/scripts/FWconf.pm4
2 files changed, 11 insertions, 11 deletions
diff --git a/firewall_wizard/firewall.wiz b/firewall_wizard/firewall.wiz
index bd9b6084..ba689abd 100644
--- a/firewall_wizard/firewall.wiz
+++ b/firewall_wizard/firewall.wiz
@@ -3,11 +3,11 @@
<Wizard
name="general"
- libScript="/usr/share/wizards/common/scripts/functions.sh"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="Firewall wizard"
imagePosition="top"
- defaultImage="/usr/share/wizards/firewall_wizard/images/firewall"
- perlModule="/usr/share/wizards/firewall_wizard/scripts/FWconf.pm"
+ defaultImage="__WIZ_HOME__/firewall_wizard/images/firewall"
+ perlModule="__WIZ_HOME__/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="/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"
@@ -149,7 +149,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html"
name="choose_net_device"
- jumpScript="/usr/share/wizards/firewall_wizard/check_ext_device.sh"
+ jumpScript="__WIZ_HOME__/firewall_wizard/check_ext_device.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -183,8 +183,8 @@
<Chooser
name="deviceChooser"
variableName="firewallDevice"
- defaultOptionScript="/usr/share/wizards/firewall_wizard/compute_ext_device.sh"
- fillScript="/usr/share/wizards/firewall_wizard/liste_ext_device.sh"
+ defaultOptionScript="__WIZ_HOME__/firewall_wizard/compute_ext_device.sh"
+ fillScript="__WIZ_HOME__/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="/usr/share/wizards/firewall_wizard/compute_level_name.sh"
+ fillScript="__WIZ_HOME__/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="/usr/share/wizards/server_wizard/server.wiz"
+ subWizard="__WIZ_HOME__/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 31c0f23c..87ecc226 100644
--- a/firewall_wizard/scripts/FWconf.pm
+++ b/firewall_wizard/scripts/FWconf.pm
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package FWconf;
-require "/usr/share/wizards/common/scripts/Vareqval.pm";
+require "__WIZ_HOME__/common/scripts/Vareqval.pm";
use MDK::Common;
#use strict;
@@ -34,7 +34,7 @@ sub do_it {
store_fwall();
- my %conf = ("/usr/share/wizards/firewall_wizard/scripts/bastille-firewall.cfg.default" =>
+ my %conf = ("__WIZ_HOME__/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",