mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
- 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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user