tiny fix for __start_on_boot/explorer/state

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Matt Coddington 2012-03-01 08:44:37 +01:00 committed by Nico Schottelius
parent 1016161bfb
commit 38b2e56786
1 changed files with 2 additions and 3 deletions

View File

@ -49,9 +49,8 @@ case "$os" in
[ -f "/etc/rc$runlevel.d/S"??"$name" ] || state="absent"
;;
centos|fedora|owl|redhat)
state="present"
state=$(chkconfig --level "$runlevel" \"$name\" || echo absent)
amazon|centos|fedora|owl|redhat)
state=$(chkconfig --level "$runlevel" "$name" || echo absent)
[ "$state" ] || state="present"
;;