/[baselayout]/branches/baselayout-1_12/sbin/rc
Gentoo

Diff of /branches/baselayout-1_12/sbin/rc

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

Revision 1958 Revision 1959
678 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")" 678 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")"
679 mylevels="${mylevels} $(dolisting /etc/runlevels/${BOOTLEVEL}/)" 679 mylevels="${mylevels} $(dolisting /etc/runlevels/${BOOTLEVEL}/)"
680 else 680 else
681 # Non-normal runlevels don't include boot scripts as default 681 # Non-normal runlevels don't include boot scripts as default
682 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")" 682 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")"
683
684 # As we're in the bootlevel, add any services that failed due
685 # to /dev/.rcsysinit existing to the list
686 if [[ -d /dev/.rcafterinit ]] ; then
687 for x in $(dolisting /dev/.rcafterinit/) ; do
688 [[ -L ${x} ]] && myscripts="${myscripts} ${x##*/}"
689 done
690 einfo "Device initiated services:${HILITE}${myscripts}${NORMAL}"
691 rm -rf /dev/.rcafterinit
692 fi
683 fi 693 fi
684 694
685 [ "${OLDSOFTLEVEL}" = "${BOOTLEVEL}" -o "${OLDSOFTLEVEL}" = "single" ] \ 695 [ "${OLDSOFTLEVEL}" = "${BOOTLEVEL}" -o "${OLDSOFTLEVEL}" = "single" ] \
686 && /bin/dmesg -n 1 696 && /bin/dmesg -n 1
687 697

Legend:
Removed from v.1958  
changed lines
  Added in v.1959

  ViewVC Help
Powered by ViewVC 1.1.20