From b26846ba0292637c7b70a664efefa46d488bb360 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 13 Feb 2006 20:51:31 +0000 Subject: Add mounting of /proc and /sys back to rc.sysinit. *docs* The booting of Fedora Core without the use of an initrd is deprecated, and support for booting the system in this manner may be removed in a later release. --- rc.d/rc.sysinit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 1cebfc0d..8c0d3229 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -16,6 +16,10 @@ if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then HOSTNAME=localhost fi +if [ ! -e /proc/mounts ]; then + mount -n -t proc /proc /proc + mount -n -t sysfs /sys /sys >/dev/null 2>&1 +fi if [ ! -d /proc/bus/usb ]; then modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb else -- cgit v1.2.1