]> git.pld-linux.org Git - packages/samba.git/blobdiff - smb.init
- force cups 1.2.0 as smbd linked with cups 1.2.0 doesn't run with cups 1.1.x
[packages/samba.git] / smb.init
index 0889943a9c5d90ed239bcc1ca869d907a9649c54..fe78227ce81724b140a42e7e299a01338fbe9737 100644 (file)
--- a/smb.init
+++ b/smb.init
@@ -31,6 +31,7 @@ else
 fi
 
 TMPDIR="/tmp"; export TMPDIR
+unset TMP || :
 
 # Check that smb.conf exists.
 [ -f /etc/samba/smb.conf ] || exit 0
@@ -83,7 +84,7 @@ case "$1" in
                killproc smbd -HUP
                RETVAL=$?
        else
-               msg_not_running smb >&2
+               msg_not_running smb
                exit 7
        fi
        ;;
This page took 0.081359 seconds and 4 git commands to generate.