--- ../tags/init-0_7_0_3/busybox/rc/rc 2011-11-24 01:44:13.000000000 +0100 +++ initscripts/busybox/rc/rc 2012-04-02 14:18:44.596982524 +0200 @@ -53,11 +61,14 @@ # mount sys file system before udev if [ -d /sys ] then - rc_print "Mounting sysfs file system ..." - mount -n -t sysfs sysfs /sys - evaluate_retval + if [ ! -e /sys/kernel/notes ] + then + rc_print "Mounting sysfs file system ..." + mount -n -t sysfs sysfs /sys + evaluate_retval + fi else - rc_echo -e ${COLORED}"Fatal: mountpoint /sys missing ..." + rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..." rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)." rc_echo -e ${COLYELLOW}"It's essential for a 2.6 kernel." fi --- ../tags/init-0_7_0_3/sysvinit/rc/rc 2011-11-24 01:44:15.000000000 +0100 +++ initscripts/sysvinit/rc/rc 2012-04-02 14:19:06.428982524 +0200 @@ -47,11 +55,14 @@ # mount sys file system before udev if [ -d /sys ] then - rc_print "Mounting sysfs file system ..." - mount -n -t sysfs sysfs /sys - evaluate_retval + if [ ! -e /sys/kernel/notes ] + then + rc_print "Mounting sysfs file system ..." + mount -n -t sysfs sysfs /sys + evaluate_retval + fi else - rc_echo -e ${COLORED}"Fatal: mountpoint /sys missing ..." + rc_echo -e ${COLRED}"Fatal: mountpoint /sys missing ..." rc_echo -e ${COLYELLOW}"Please create the directory /sys (mkdir -p /sys)." rc_echo -e ${COLYELLOW}"It's essential for a 2.6 kernel." fi