Lines 345-352
Link Here
|
345 |
|
345 |
|
346 |
if [[ ${ROOT} == / ]] |
346 |
if [[ ${ROOT} == / ]] |
347 |
then |
347 |
then |
|
|
348 |
source /etc/rc.conf |
348 |
# check if root of init-process is identical to ours |
349 |
# check if root of init-process is identical to ours |
349 |
if [[ -r /proc/1/root && /proc/1/root/ -ef /proc/self/root/ ]] |
350 |
if [[ -r /proc/1/root && /proc/1/root/ -ef /proc/self/root/ && -z "$rc_devices" || "$rc_devices" == "udev" ]] |
350 |
then |
351 |
then |
351 |
einfo "restarting udevd now." |
352 |
einfo "restarting udevd now." |
352 |
if [[ -n $(pidof udevd) ]] |
353 |
if [[ -n $(pidof udevd) ]] |