/[vps]/baselayout-vserver/branches/baselayout-1_12/bin/rc-status
Gentoo

Diff of /baselayout-vserver/branches/baselayout-1_12/bin/rc-status

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 200 Revision 201
212 && ${level} != "UNASSIGNED" \ 212 && ${level} != "UNASSIGNED" \
213 ]] && [[ ${level} != "${BOOTLEVEL}" \ 213 ]] && [[ ${level} != "${BOOTLEVEL}" \
214 || " ${boot_crit} " != *" ${service} "* ]]; then 214 || " ${boot_crit} " != *" ${service} "* ]]; then
215 print_msg "${service}" "${BAD}" 'broken ' 215 print_msg "${service}" "${BAD}" 'broken '
216 broken="${broken} ${service}" 216 broken="${broken} ${service}"
217 elif [[ -n ${stopping} && $(in_list "${stopping}" "${service}") -eq 1 ]] ; then
218 print_msg "${service}" "${BAD}" 'stopping'
219 elif [[ -n ${starting} && $(in_list "${starting}" "${service}") -eq 1 ]] ; then
220 print_msg "${service}" "${GOOD}" 'starting'
217 elif [[ -n ${inactive} && $(in_list "${inactive}" "${service}") -eq 1 ]] ; then 221 elif [[ -n ${inactive} && $(in_list "${inactive}" "${service}") -eq 1 ]] ; then
218 print_msg "${service}" "${WARN}" 'inactive' 222 print_msg "${service}" "${WARN}" 'inactive'
219 elif [[ $(in_list "${started}" "${service}") -eq 1 ]] ; then 223 elif [[ $(in_list "${started}" "${service}") -eq 1 ]] ; then
220 print_msg "${service}" "${GOOD}" 'started ' 224 print_msg "${service}" "${GOOD}" 'started '
221 elif [[ -n ${starting} && $(in_list "${starting}" "${service}") -eq 1 ]] ; then
222 print_msg "${service}" "${GOOD}" 'starting'
223 elif [[ -n ${stopping} && $(in_list "${stopping}" "${service}") -eq 1 ]] ; then
224 print_msg "${service}" "${BAD}" 'stopping'
225 else 225 else
226 print_msg "${service}" "${BAD}" 'stopped ' 226 print_msg "${service}" "${BAD}" 'stopped '
227 fi 227 fi
228 done 228 done
229 let "arridx += 1" 229 let "arridx += 1"

Legend:
Removed from v.200  
changed lines
  Added in v.201

  ViewVC Help
Powered by ViewVC 1.1.20