/[baselayout]/trunk/sbin/rc
Gentoo

Diff of /trunk/sbin/rc

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

Revision 419 Revision 420
419then 419then
420 echo "${SOFTLEVEL}" > "${svcdir}/softlevel" 420 echo "${SOFTLEVEL}" > "${svcdir}/softlevel"
421fi 421fi
422 422
423# Progressbar begin 423# Progressbar begin
424splash_calc "${argv1}" "${svcdir}" 424splash_calc
425# Progressbar end 425# Progressbar end
426 426
427# For keeping a list of services that fails during boot/halt 427# For keeping a list of services that fails during boot/halt
428if [ ! -d "${svcdir}/failed" ] 428if [ ! -d "${svcdir}/failed" ]
429then 429then
614if [ "${SOFTLEVEL}" = "reboot" -o "${SOFTLEVEL}" = "shutdown" ] 614if [ "${SOFTLEVEL}" = "reboot" -o "${SOFTLEVEL}" = "shutdown" ]
615then 615then
616 source /sbin/functions.sh 616 source /sbin/functions.sh
617 617
618 # Progressbar begin 618 # Progressbar begin
619 splash_debug "${argv1}" 619 splash_debug "${SOFTLEVEL}"
620 # Progressbar end 620 # Progressbar end
621 621
622 # Make sure that our $svcdir are clean for next reboot ... 622 # Make sure that our $svcdir are clean for next reboot ...
623 rm -rf "${svcdir}"/* 623 rm -rf "${svcdir}"/*
624 624
670fi 670fi
671 671
672# Start scripts 672# Start scripts
673for i in ${EXTRA_SOFTSCRIPTS} $(dolisting "${svcdir}/softscripts/") 673for i in ${EXTRA_SOFTSCRIPTS} $(dolisting "${svcdir}/softscripts/")
674do 674do
675 dep_start "${i}" 675 dep_start "${i##*/}"
676done 676done
677 677
678# Wait for any services that may still be running ... 678# Wait for any services that may still be running ...
679[ "${RC_PARALLEL_STARTUP}" = "yes" ] && wait 679[ "${RC_PARALLEL_STARTUP}" = "yes" ] && wait
680 680
703 703
704# If we were in the boot runlevel, it is done now ... 704# If we were in the boot runlevel, it is done now ...
705[ -n "${BOOT}" ] && unset BOOT 705[ -n "${BOOT}" ] && unset BOOT
706 706
707# Progressbar begin 707# Progressbar begin
708splash_debug "${argv1}" 708splash_debug "${SOFTLEVEL}"
709# Progressbar end 709# Progressbar end
710 710
711
711# vim:ts=4 712# vim:ts=4

Legend:
Removed from v.419  
changed lines
  Added in v.420

  ViewVC Help
Powered by ViewVC 1.1.20