mountkernfs: fix mount of /sys and /proc without initrd.

This commit is contained in:
Arne Fitzenreiter
2013-12-08 16:07:35 +01:00
parent 8a2cf24a1f
commit 3a3759c625

View File

@@ -21,12 +21,12 @@ case "${1}" in
if ! mountpoint /proc &> /dev/null; then
boot_mesg -n " /proc" ${NORMAL}
mount -n /proc || failed=1
mount -n -t proc /proc /proc || failed=1
fi
if ! mountpoint /sys &> /dev/null; then
boot_mesg -n " /sys" ${NORMAL}
mount -n /sys || failed=1
mount -n -t sysfs /sys /sys || failed=1
fi
boot_mesg "" ${NORMAL}