tiny fix for __start_on_boot/explorer/state

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
remotes/origin/feature_files_export
Matt Coddington 13 years ago committed by Nico Schottelius
parent 1016161bfb
commit 38b2e56786
  1. 5
      conf/type/__start_on_boot/explorer/state

@ -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"
;;

Loading…
Cancel
Save