summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'samba_wizard')
-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;