From 69f2223275267fbb7428c305c9ee67eb73c8068d Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Thu, 2 Feb 2006 00:52:41 +0000 Subject: altboot: Bugfixes - Fix disable_printk.sh - Boot NFS: Ignore failure of mounting /proc --- packages/altboot/files/altboot-menu/Advanced/55-bin-sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/altboot/files/altboot-menu/Advanced/55-bin-sh') diff --git a/packages/altboot/files/altboot-menu/Advanced/55-bin-sh b/packages/altboot/files/altboot-menu/Advanced/55-bin-sh index 6db4adaf3a..90a6f37ff5 100644 --- a/packages/altboot/files/altboot-menu/Advanced/55-bin-sh +++ b/packages/altboot/files/altboot-menu/Advanced/55-bin-sh @@ -8,6 +8,11 @@ run_module() { test "$ASK_PW_ON_BOOT" != "yes" && verify_master_pw >/dev/tty0 + # Make the system a little bit more usable than a standard init=/bin/sh boot + mount -t proc proc /proc >/dev/null 2>&1 + uname -r | grep -q "2.6." && mount sys -t sysfs /sys + mount -o remount,rw / + echo -e "\nBoot system with 'exec /sbin/init 5'\n" while true do -- cgit v1.2.3