Really fix the warning on the init script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3b5b04a3f6
commit
24b5e4b2fa
@ -35,7 +35,7 @@ if [ -f /lib/lsb/init-functions ]; then
|
||||
STATUS=MStatus
|
||||
LOG_SUCCESS=log_success_msg
|
||||
LOG_FAILURE=log_failure_msg
|
||||
LOG_WARNING=log_warning_message
|
||||
LOG_WARNING=log_warning_msg
|
||||
elif [ -f /etc/init.d/functions ]; then
|
||||
echo RH
|
||||
. /etc/init.d/functions
|
||||
|
@ -32,7 +32,8 @@ if [ -f /lib/lsb/init-functions ]; then
|
||||
STATUS=MStatus
|
||||
LOG_SUCCESS=log_success_msg
|
||||
LOG_FAILURE=log_failure_msg
|
||||
LOG_WARNING=log_warning_message
|
||||
#LOG_WARNING=log_warning_message
|
||||
LOG_WARNING=passed
|
||||
elif [ -f /etc/init.d/functions ]; then
|
||||
echo RH
|
||||
. /etc/init.d/functions
|
||||
@ -59,7 +60,7 @@ stop)
|
||||
$STATUS >& /dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo -n "xCATd not running, not stopping "
|
||||
#$LOG_WARNING
|
||||
$LOG_WARNING
|
||||
exit 1
|
||||
fi
|
||||
kill -TERM -`cat /var/run/xcatd.pid`
|
||||
|
Loading…
Reference in New Issue
Block a user