Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 444574
Collapse All | Expand All

(-)a/defaults/linuxrc (-5 / +2 lines)
Lines 38-44 CMDLINE=$(cat /proc/cmdline) Link Here
38
FAKE_ROOT=''
38
FAKE_ROOT=''
39
FAKE_INIT=''
39
FAKE_INIT=''
40
REAL_ROOTFLAGS=''
40
REAL_ROOTFLAGS=''
41
INIT_OPTS=''
42
ROOTFSTYPE='auto'
41
ROOTFSTYPE='auto'
43
CRYPT_SILENT=0
42
CRYPT_SILENT=0
44
43
Lines 61-69 do Link Here
61
		init=*)
60
		init=*)
62
			FAKE_INIT=${x#*=}
61
			FAKE_INIT=${x#*=}
63
		;;
62
		;;
64
		init_opts=*)
65
			INIT_OPTS=${x#*=}
66
		;;
67
		# Livecd options
63
		# Livecd options
68
		cdroot)
64
		cdroot)
69
			CDROOT=1
65
			CDROOT=1
Lines 940-946 fi Link Here
940
936
941
echo -e "${BOLD}.${NORMAL}"
937
echo -e "${BOLD}.${NORMAL}"
942
938
943
exec /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}"
939
# init_opts is set in the environment by the kernel when it parses the command line
940
exec /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" ${init_opts}
944
941
945
# If we get here, something bad has happened
942
# If we get here, something bad has happened
946
splash 'verbose'
943
splash 'verbose'

Return to bug 444574