diff options
author | Christian Heim <phreak@gentoo.org> | 2006-01-10 16:56:20 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2006-01-10 16:56:20 +0000 |
commit | b1e035664b04426ced5a5942fb94b718d4e0e0ca (patch) | |
tree | 51b524b8466c22eb3be579ef72515645c95ac9cc /bin | |
parent | Importing the latest (r1798) changes uberlord made just before I've hit the c... (diff) | |
download | baselayout-vserver-b1e035664b04426ced5a5942fb94b718d4e0e0ca.tar.gz baselayout-vserver-b1e035664b04426ced5a5942fb94b718d4e0e0ca.tar.bz2 baselayout-vserver-b1e035664b04426ced5a5942fb94b718d4e0e0ca.zip |
r1799
svn path=/baselayout-vserver/trunk/; revision=202
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rc-status | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/rc-status b/bin/rc-status index 299383c..05254fc 100755 --- a/bin/rc-status +++ b/bin/rc-status @@ -214,14 +214,14 @@ for level in ${runlevelidxs} ; do || " ${boot_crit} " != *" ${service} "* ]]; then print_msg "${service}" "${BAD}" 'broken ' broken="${broken} ${service}" + elif [[ -n ${stopping} && $(in_list "${stopping}" "${service}") -eq 1 ]] ; then + print_msg "${service}" "${BAD}" 'stopping' + elif [[ -n ${starting} && $(in_list "${starting}" "${service}") -eq 1 ]] ; then + print_msg "${service}" "${GOOD}" 'starting' elif [[ -n ${inactive} && $(in_list "${inactive}" "${service}") -eq 1 ]] ; then print_msg "${service}" "${WARN}" 'inactive' elif [[ $(in_list "${started}" "${service}") -eq 1 ]] ; then print_msg "${service}" "${GOOD}" 'started ' - elif [[ -n ${starting} && $(in_list "${starting}" "${service}") -eq 1 ]] ; then - print_msg "${service}" "${GOOD}" 'starting' - elif [[ -n ${stopping} && $(in_list "${stopping}" "${service}") -eq 1 ]] ; then - print_msg "${service}" "${BAD}" 'stopping' else print_msg "${service}" "${BAD}" 'stopped ' fi |