summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-10-02 09:55:10 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-10-02 09:55:10 +0000
commitaae7a0a87b564db68fd6bb19fb987e5acfd665c7 (patch)
tree4eff1b40e548dba782dfeaacd8f49ce57439ecf4 /samba_wizard
parent99b8cdcce64373f148fa7c6ca522b50c915e64e1 (diff)
downloaddrakwizard-aae7a0a87b564db68fd6bb19fb987e5acfd665c7.tar
drakwizard-aae7a0a87b564db68fd6bb19fb987e5acfd665c7.tar.gz
drakwizard-aae7a0a87b564db68fd6bb19fb987e5acfd665c7.tar.bz2
drakwizard-aae7a0a87b564db68fd6bb19fb987e5acfd665c7.tar.xz
drakwizard-aae7a0a87b564db68fd6bb19fb987e5acfd665c7.zip
s|patch|path| to change the path of the shared dir
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/scripts/Smbconf.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/samba_wizard/scripts/Smbconf.pm b/samba_wizard/scripts/Smbconf.pm
index dd3df24e..63496ab7 100755
--- a/samba_wizard/scripts/Smbconf.pm
+++ b/samba_wizard/scripts/Smbconf.pm
@@ -160,7 +160,7 @@ sub do_it {
$conf->homes() if $ENV{wiz_do_homes};
$conf->chg_var("global", "hosts allow", $ip);
$conf->chg_var("global", "security", "share");
- $conf->chg_var("public", "patch", $ENV{wiz_dir});
+ $conf->chg_var("public", "path", $ENV{wiz_dir});
$conf->write_conf("/etc/samba/smb.conf");
system("/etc/rc.d/init.d/smb restart");
10;