summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
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 /proxy_wizard
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 'proxy_wizard')
-rw-r--r--proxy_wizard/proxy.wiz24
-rw-r--r--proxy_wizard/scripts/Squidconf.pm6
2 files changed, 15 insertions, 15 deletions
diff --git a/proxy_wizard/proxy.wiz b/proxy_wizard/proxy.wiz
index cd264303..4532209f 100644
--- a/proxy_wizard/proxy.wiz
+++ b/proxy_wizard/proxy.wiz
@@ -3,11 +3,11 @@
<Wizard
name="general"
- libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ libScript="/usr/share/wizards/common/scripts/functions.sh"
wizardTitle="Squid wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/proxy_wizard/images/proxy"
- perlModule="__WIZ_HOME__/proxy_wizard/scripts/Squidconf.pm"
+ defaultImage="/usr/share/wizards/proxy_wizard/images/proxy"
+ perlModule="/usr/share/wizards/proxy_wizard/scripts/Squidconf.pm"
rpm="squid"
>
@@ -86,7 +86,7 @@
<Page
name="Welcome"
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
- 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"
@@ -206,7 +206,7 @@
<Page
name="port"
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
- jumpScript="__WIZ_HOME__/proxy_wizard/scripts/testport.sh"
+ jumpScript="/usr/share/wizards/proxy_wizard/scripts/testport.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -309,7 +309,7 @@
<Info
comment="free space on disk"
- fillScript="__WIZ_HOME__/proxy_wizard/scripts/dfh.sh"
+ fillScript="/usr/share/wizards/proxy_wizard/scripts/dfh.sh"
>
</Info>
@@ -318,7 +318,7 @@
<Page
name="ask_level"
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
- jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_level"
+ jumpScript="/usr/share/wizards/proxy_wizard/scripts/echolevel.sh $wiz_squid_level"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -412,7 +412,7 @@
<Info
- fillScript="__WIZ_HOME__/proxy_wizard/scripts/printservices.sh"
+ fillScript="/usr/share/wizards/proxy_wizard/scripts/printservices.sh"
>
</Info>
@@ -463,7 +463,7 @@
<Page
name="cachepeer"
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
- jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_menupeer"
+ jumpScript="/usr/share/wizards/proxy_wizard/scripts/echolevel.sh $wiz_squid_menupeer"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -624,7 +624,7 @@
<Freetext
name="s_level"
- fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level"
+ fillScript="/usr/share/wizards/proxy_wizard/scripts/showlevel.sh $wiz_squid_level"
helpText="Access Control:"
editable="false"
>
@@ -716,7 +716,7 @@
<Freetext
name="s_level"
variableName="wiz_squid_mynetw"
- fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level"
+ fillScript="/usr/share/wizards/proxy_wizard/scripts/showlevel.sh $wiz_squid_level"
helpText="Access Control:"
editable="false"
>
@@ -820,7 +820,7 @@
<Page
name="error_need_net"
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
- subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ subWizard="/usr/share/wizards/server_wizard/server.wiz"
executionLevel="NORMAL"
nextFinish="false"
canBack="false"
diff --git a/proxy_wizard/scripts/Squidconf.pm b/proxy_wizard/scripts/Squidconf.pm
index fa99558d..e7788fec 100644
--- a/proxy_wizard/scripts/Squidconf.pm
+++ b/proxy_wizard/scripts/Squidconf.pm
@@ -1,15 +1,15 @@
#!/usr/bin/perl
package Squidconf;
-require "__WIZ_HOME__/common/scripts/Vareqval.pm";
-require "__WIZ_HOME__/common/scripts/Varspaceval.pm";
+require "/usr/share/wizards/common/scripts/Vareqval.pm";
+require "/usr/share/wizards/common/scripts/Varspaceval.pm";
use MDK::Common;
use strict;
sub do_it_squid {
my $file="/etc/squid/squid.conf";
-f $file and MDK::Common::cp_af($file, $file.".orig");
- MDK::Common::cp_af("__WIZ_HOME__/proxy_wizard/scripts/squid.conf.default", $file);
+ MDK::Common::cp_af("/usr/share/wizards/proxy_wizard/scripts/squid.conf.default", $file);
print "$ENV{wiz_squid_defdir}\n";
substInFile {
s|^\s*\#?\s*(cache_dir.*$ENV{wiz_squid_defdir}\s*)\d*(.*)|$1$ENV{wiz_squid_disk}$2|;