Lines 27-36
Link Here
|
27 |
# until after rc sysinit has completed so we punt them to the boot runlevel |
27 |
# until after rc sysinit has completed so we punt them to the boot runlevel |
28 |
if [[ -e /dev/.rcsysinit ]] ; then |
28 |
if [[ -e /dev/.rcsysinit ]] ; then |
29 |
eerror "ERROR: cannot run ${SVCNAME} until sysinit completes" |
29 |
eerror "ERROR: cannot run ${SVCNAME} until sysinit completes" |
30 |
eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel" |
30 |
if [[ ${RC_COLDPLUG} == "yes" \ |
31 |
if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then |
31 |
|| " ${RC_COLDPLUG} " == *" ${SVCNAME} "* ]] ; then |
32 |
[[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot |
32 |
eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel" |
33 |
ln -snf "$1" /dev/.rcboot/"${SVCNAME}" |
33 |
if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then |
|
|
34 |
[[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot |
35 |
ln -snf "$1" /dev/.rcboot/"${SVCNAME}" |
36 |
fi |
34 |
fi |
37 |
fi |
35 |
exit 1 |
38 |
exit 1 |
36 |
fi |
39 |
fi |