summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
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");