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