From 3a3759c625c593e70a7bea479c11834152681565 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 8 Dec 2013 16:07:35 +0100 Subject: [PATCH] mountkernfs: fix mount of /sys and /proc without initrd. --- src/initscripts/init.d/mountkernfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/mountkernfs b/src/initscripts/init.d/mountkernfs index 1e5be0517..9cbceb4d0 100644 --- a/src/initscripts/init.d/mountkernfs +++ b/src/initscripts/init.d/mountkernfs @@ -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} -- 2.39.2