summaryrefslogtreecommitdiff
path: root/shares-conf.in
diff options
context:
space:
mode:
authorhansp <hansp>2001-05-04 23:42:32 +0000
committerhansp <hansp>2001-05-04 23:42:32 +0000
commit5057f1b90791572470ff123abac8955cae50c253 (patch)
tree4ed4bf53c86e426cb866b0afa9916f55eaa55a8c /shares-conf.in
parent0e7ad76af5bf4336904f11c425965da1f6c4144b (diff)
2001-04-30 Hans Petter Jansson <hpj@ximian.com>
* shares-conf.in (write_fstab): Don't leave unaccounted-for shares lying around. (set_immediate): Use new service calls. Interim fix.
Diffstat (limited to 'shares-conf.in')
-rwxr-xr-xshares-conf.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/shares-conf.in b/shares-conf.in
index 4c5c42c..7e7d8db 100755
--- a/shares-conf.in
+++ b/shares-conf.in
@@ -987,7 +987,7 @@ sub write_fstab
# password, point, printed, listed.
}
- if (!$found) { print OUTFILE; }
+# if (!$found) { print OUTFILE; }
}
}
@@ -1893,7 +1893,9 @@ sub set_immediate
# Update exports.
- &xst_service_restart(80, "-D", "samba", "smb", "smbd");
+ &xst_service_sysv_run_initd_script ("samba", "restart");
+ &xst_service_sysv_run_initd_script ("smb", "restart");
+
&xst_progress(60);
if ($exportfs_tool eq "")