/[baselayout]/trunk/sbin/rc
Gentoo

Diff of /trunk/sbin/rc

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

Revision 1958 Revision 1959
233 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")" 233 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")"
234 mylevels="${mylevels} $(dolisting "/etc/runlevels/${BOOTLEVEL}/")" 234 mylevels="${mylevels} $(dolisting "/etc/runlevels/${BOOTLEVEL}/")"
235 else 235 else
236 # Non-normal runlevels don't include boot scripts as default 236 # Non-normal runlevels don't include boot scripts as default
237 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")" 237 mylevels="$(dolisting "/etc/runlevels/${SOFTLEVEL}/")"
238
239 # As we're in the bootlevel, add any services that failed due
240 # to /dev/.rcsysinit existing to the list
241 if [[ -d /dev/.rcafterinit ]] ; then
242 for x in $(dolisting /dev/.rcafterinit/) ; do
243 [[ -L ${x} ]] && myscripts="${myscripts} ${x##*/}"
244 done
245 einfo "Device initiated services:${HILITE}${myscripts}${NORMAL}"
246 rm -rf /dev/.rcafterinit
238 fi 247 fi
248 fi
239 249
240 [[ ${OLDSOFTLEVEL} == "${BOOTLEVEL}" || ${OLDSOFTLEVEL} == "single" ]] && \ 250 [[ ${OLDSOFTLEVEL} == "${BOOTLEVEL}" || ${OLDSOFTLEVEL} == "single" ]] && \
241 /bin/dmesg -n 1 251 /bin/dmesg -n 1
242 252
243 for x in ${mylevels} ; do 253 for x in ${mylevels} ; do

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

  ViewVC Help
Powered by ViewVC 1.1.20