summaryrefslogtreecommitdiff
path: root/packaging/Mandrake/smb.init
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Mandrake/smb.init')
-rwxr-xr-xpackaging/Mandrake/smb.init9
1 files changed, 1 insertions, 8 deletions
diff --git a/packaging/Mandrake/smb.init b/packaging/Mandrake/smb.init
index bdc1518709..8855f04efb 100755
--- a/packaging/Mandrake/smb.init
+++ b/packaging/Mandrake/smb.init
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# chkconfig: 35 91 9
+# chkconfig: - 91 35
# description: Starts and stops the Samba smbd and nmbd daemons \
# used to provide SMB network services.
@@ -26,12 +26,6 @@ RETVAL=0
start() {
- # If CUPS is used as printing system, reload smb after a 1 minute delay
- # to allow the printers to appear properly as samba shares.
- if killall -0 cupsd 2>/dev/null; then
- ( sleep 60 && killproc smbd -HUP ) &
- fi
- export TMPDIR="/var/tmp"
echo -n "Starting SMB services: "
daemon smbd -D
RETVAL=$?
@@ -61,7 +55,6 @@ restart() {
start
}
reload() {
- export TMPDIR="/var/tmp"
echo -n "Reloading smb.conf file: "
killproc smbd -HUP
RETVAL=$?