- Fix init script for CentOS/RedHat. Patch by fzago@systemfabricworks.com

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Mark Buechler
2010-12-08 14:57:48 +00:00
parent fe247fde3b
commit b12f90f23f
+2 -5
View File
@@ -64,7 +64,7 @@ case "$1" in
fi
done
if [ -f $SCST_CFG ]; then
if [ -f $SCST_CFG ]; then
if scstadmin -config $SCST_CFG >/dev/null 2>&1; then
log_success_msg
else
@@ -72,12 +72,9 @@ case "$1" in
exit 1
fi
else
log_end_msg 0
log_success_msg
echo "SCST configuration file $SCST_CFG missing"
exit 0
fi
log_success_msg
;;
stop)
## Stop the service.