Cosmetic changes.

This commit is contained in:
ssorce 2007-04-19 14:28:00 +00:00
parent 9da3010612
commit 7816e7ea31
1 changed files with 3 additions and 11 deletions

View File

@ -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