baselayout version: sys-apps/baselayout-1.12.4-r7 The output of "rc-status" is unsorted by default. I think it should be sorted, just like the output of "rc-update show".
fixed with this: --- branches/baselayout-1_12/bin/rc-status (revision 2425) +++ branches/baselayout-1_12/bin/rc-status (working copy) @@ -121,7 +121,7 @@ declare -a runlevels arridx=0 for level in ${runlevelidxs} ; do if [[ ${level} == ${runlevel} || -n ${ALL} ]] ; then - runlevels[${arridx}]=$(find ${runleveldir}/${level} -maxdepth 1 -type l -printf '%f ') + runlevels[${arridx}]=$(find ${runleveldir}/${level} -maxdepth 1 -type l -printf '%f\n' | sort) let "arridx += 1" fi done
Thanks! :o)