summaryrefslogtreecommitdiffstats
path: root/samba_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 /samba_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 'samba_wizard')
-rw-r--r--samba_wizard/samba.wiz16
-rwxr-xr-xsamba_wizard/scripts/Smbconf.pm6
2 files changed, 11 insertions, 11 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz
index f490b5dc..8eef7438 100644
--- a/samba_wizard/samba.wiz
+++ b/samba_wizard/samba.wiz
@@ -3,11 +3,11 @@
<Wizard
name="general"
- libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ libScript="/usr/share/wizards/common/scripts/functions.sh"
wizardTitle="Samba wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/samba_wizard/images/samba"
- perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm"
+ defaultImage="/usr/share/wizards/samba_wizard/images/samba"
+ perlModule="/usr/share/wizards/samba_wizard/scripts/Smbconf.pm"
rpm="samba-server"
>
@@ -42,7 +42,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.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"
@@ -87,7 +87,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_services"
- jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_services.sh"
+ jumpScript="/usr/share/wizards/samba_wizard/scripts/check_services.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -163,7 +163,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_workgroup"
- jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_workgroup.sh"
+ jumpScript="/usr/share/wizards/samba_wizard/scripts/check_workgroup.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -223,7 +223,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_banner"
- jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_banner.sh"
+ jumpScript="/usr/share/wizards/samba_wizard/scripts/check_banner.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -413,7 +413,7 @@ needed to configure Samba."
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.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/samba_wizard/scripts/Smbconf.pm b/samba_wizard/scripts/Smbconf.pm
index 577c1870..5385d429 100755
--- a/samba_wizard/scripts/Smbconf.pm
+++ b/samba_wizard/scripts/Smbconf.pm
@@ -1,8 +1,8 @@
#! /usr/bin/perl -w
package Smbconf;
-require "__WIZ_HOME__/common/scripts/Vareqval.pm";
-require "__WIZ_HOME__/common/scripts/DrakconnectConf.pm";
+require "/usr/share/wizards/common/scripts/Vareqval.pm";
+require "/usr/share/wizards/common/scripts/DrakconnectConf.pm";
use strict;
@@ -98,7 +98,7 @@ sub printer_sharing {
sub do_it {
- read_conf("__WIZ_HOME__/samba_wizard/scripts/smb.conf.default");
+ read_conf("/usr/share/wizards/samba_wizard/scripts/smb.conf.default");
chg_var("global", "workgroup", $ENV{wiz_workgroup});
chg_var("global", "server string", $ENV{wiz_banner});
my $ip = $o->get_from_known_dev("IP");