Magellan Linux

Diff of /trunk/initscripts/sysvinit/rc/rc

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

revision 1788 by niro, Mon Apr 2 11:26:04 2012 UTC revision 1789 by niro, Mon Apr 2 11:27:25 2012 UTC
# Line 55  then Line 55  then
55   # mount sys file system before udev   # mount sys file system before udev
56   if [ -d /sys ]   if [ -d /sys ]
57   then   then
58   rc_print "Mounting sysfs file system ..."   if [ ! -e /sys/kernel/notes ]
59   mount -n -t sysfs sysfs /sys   then
60   evaluate_retval   rc_print "Mounting sysfs file system ..."
61     mount -n -t sysfs sysfs /sys
62     evaluate_retval
63     fi
64   else   else
65   rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..."   rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..."
66   rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)."   rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)."

Legend:
Removed from v.1788  
changed lines
  Added in v.1789