/[baselayout]/trunk/sbin/runscript.sh
Gentoo

Diff of /trunk/sbin/runscript.sh

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

Revision 1958 Revision 1959
24myservice="${SVCNAME}" 24myservice="${SVCNAME}"
25 25
26# Stop init scripts from working until sysinit completes 26# Stop init scripts from working until sysinit completes
27if [[ -e /dev/.rcsysinit ]] ; then 27if [[ -e /dev/.rcsysinit ]] ; then
28 eerror "ERROR: cannot run ${SVCNAME} until sysinit completes" 28 eerror "ERROR: cannot run ${SVCNAME} until sysinit completes"
29 # Try to add this service to a queue when sysinit has completed
30 [[ ! -d /dev/.rcafterinit ]] && mkdir /dev/.rcafterinit
31 ln -snf "$1" /dev/.rcafterinit/"${SVCNAME}"
29 exit 1 32 exit 1
30fi 33fi
31 34
32svc_trap() { 35svc_trap() {
33 trap 'eerror "ERROR: ${SVCNAME} caught an interrupt"; exit 1' \ 36 trap 'eerror "ERROR: ${SVCNAME} caught an interrupt"; exit 1' \

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

  ViewVC Help
Powered by ViewVC 1.1.20