Cosmetic changes.
This commit is contained in:
parent
9da3010612
commit
7816e7ea31
12
winbind.init
12
winbind.init
@ -8,13 +8,7 @@
|
||||
|
||||
|
||||
# Source function library.
|
||||
if [ -f /etc/init.d/functions ] ; then
|
||||
. /etc/init.d/functions
|
||||
elif [ -f /etc/rc.d/init.d/functions ] ; then
|
||||
. /etc/rc.d/init.d/functions
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Avoid using root's TMPDIR
|
||||
unset TMPDIR
|
||||
@ -22,16 +16,14 @@ unset TMPDIR
|
||||
# Source networking configuration.
|
||||
. /etc/sysconfig/network
|
||||
|
||||
if [ -f /etc/sysconfig/samba ]; then
|
||||
. /etc/sysconfig/samba
|
||||
fi
|
||||
|
||||
# Check that networking is up.
|
||||
[ ${NETWORKING} = "no" ] && exit 0
|
||||
|
||||
# Check that smb.conf exists.
|
||||
[ -f /etc/samba/smb.conf ] || exit 0
|
||||
|
||||
[ -f /etc/sysconfig/samba ] && . /etc/sysconfig/samba
|
||||
|
||||
RETVAL=0
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user