diff --git a/conf/type/__start_on_boot/explorer/state b/conf/type/__start_on_boot/explorer/state index 2778e784..9d63b84e 100755 --- a/conf/type/__start_on_boot/explorer/state +++ b/conf/type/__start_on_boot/explorer/state @@ -21,9 +21,6 @@ # Check whether the given name will be started on boot or not # -set -x -exec >&2 - os=$("$__explorer/os") runlevel=$("$__explorer/runlevel") name="$__object_id" @@ -36,10 +33,6 @@ case "$os" in [ -f "/etc/rc$runlevel.d/S"??"$name" ] || state="absent" ;; - gentoo) - echo rc-update add \"$name\" default - ;; - centos|fedora|owl|redhat) state=$(chkconfig --level "$runlevel" \"$name\" || echo absent) [ "$state" ] || state="present" @@ -52,4 +45,3 @@ case "$os" in esac echo $state -exit 1 diff --git a/conf/type/__start_on_boot/gencode-remote b/conf/type/__start_on_boot/gencode-remote index aa854658..ee2bdeb6 100755 --- a/conf/type/__start_on_boot/gencode-remote +++ b/conf/type/__start_on_boot/gencode-remote @@ -43,9 +43,10 @@ case "$state_should" in echo update-rc.d \"$name\" defaults ;; - gentoo) - echo rc-update add \"$name\" default - ;; +# Disabled until the explorer is checked +# gentoo) +# echo rc-update add \"$name\" default +# ;; centos|fedora|owl|redhat) echo chkconfig \"$name\" on @@ -64,9 +65,10 @@ case "$state_should" in echo update-rc.d -f \"$name\" remove ;; - gentoo) - echo rc-update del \"$name\" - ;; +# Disabled until the explorer is checked +# gentoo) +# echo rc-update del \"$name\" +# ;; centos|fedora|owl|redhat) echo chkconfig \"$name\" off @@ -80,7 +82,6 @@ case "$state_should" in ;; - *) echo "Unknown state: $state_should" >&2 exit 1