diff options
author | Bill Nottingham <notting@redhat.com> | 2006-02-13 20:51:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-02-13 20:51:31 +0000 |
commit | b26846ba0292637c7b70a664efefa46d488bb360 (patch) | |
tree | 17afc7d68d4f4d608800a65dd6a057bf09fcf587 | |
parent | fa6f9a0bfae38003573ec08daf809519d32e2422 (diff) | |
download | initscripts-b26846ba0292637c7b70a664efefa46d488bb360.tar initscripts-b26846ba0292637c7b70a664efefa46d488bb360.tar.gz initscripts-b26846ba0292637c7b70a664efefa46d488bb360.tar.bz2 initscripts-b26846ba0292637c7b70a664efefa46d488bb360.tar.xz initscripts-b26846ba0292637c7b70a664efefa46d488bb360.zip |
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.
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
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 |