61 |
# mount sys file system before udev |
# mount sys file system before udev |
62 |
if [ -d /sys ] |
if [ -d /sys ] |
63 |
then |
then |
64 |
rc_print "Mounting sysfs file system ..." |
if [ ! -e /sys/kernel/notes ] |
65 |
mount -n -t sysfs sysfs /sys |
then |
66 |
evaluate_retval |
rc_print "Mounting sysfs file system ..." |
67 |
|
mount -n -t sysfs sysfs /sys |
68 |
|
evaluate_retval |
69 |
|
fi |
70 |
else |
else |
71 |
rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..." |
rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..." |
72 |
rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)." |
rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)." |