summaryrefslogtreecommitdiffstats
path: root/samba_wizard/scripts
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-02 12:47:19 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-02 12:47:19 +0000
commitcf4e3a1b5ccaa7c48d7e27846b199391110587a7 (patch)
tree21e4c4fa77be01f66243b8596a5c84a055f4a051 /samba_wizard/scripts
parent19559875fbbca2ca3a5adafc7a254e87e0b56059 (diff)
downloaddrakwizard-cf4e3a1b5ccaa7c48d7e27846b199391110587a7.tar
drakwizard-cf4e3a1b5ccaa7c48d7e27846b199391110587a7.tar.gz
drakwizard-cf4e3a1b5ccaa7c48d7e27846b199391110587a7.tar.bz2
drakwizard-cf4e3a1b5ccaa7c48d7e27846b199391110587a7.tar.xz
drakwizard-cf4e3a1b5ccaa7c48d7e27846b199391110587a7.zip
changed absolute path name
Diffstat (limited to 'samba_wizard/scripts')
-rwxr-xr-xsamba_wizard/scripts/Smbconf.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/samba_wizard/scripts/Smbconf.pm b/samba_wizard/scripts/Smbconf.pm
index 583c8411..264798e8 100755
--- a/samba_wizard/scripts/Smbconf.pm
+++ b/samba_wizard/scripts/Smbconf.pm
@@ -87,10 +87,10 @@ sub printer_sharing {
# remember one variable cannot be commented and not in the same file.
-sub finish {
+sub do_it {
my ($file, $device, $ip);
- read_conf("/home/logarno/drakwizard/samba_wizard/scripts/smb.conf.default");
+ read_conf("__WIZ_HOME__/samba_wizard/scripts/smb.conf.default");
$file = "/etc/sysconfig/mdk_serv";
my %mdk = Vareqval->get($file);
foreach (qw(wiz_banner wiz_workgroup wiz_do_printer_sharing wiz_do_file_sharing)) {
@@ -109,7 +109,7 @@ sub finish {
chg_var("global", "security", "share");
write_conf("/etc/samba/smb.conf");
system("/etc/rc.d/init.d/smb restart >/dev/null 2>&1");
- 1;
+ 10;
}
1;