View | Details | Raw Unified | Return to bug 41097
Collapse All | Expand All

(-)a/bootchain-core/data/sbin/bootchained (+4 lines)
Lines 35-40 if [ "x${1-}" != "x--foreground" ]; then Link Here
35
35
36
	if [ "${RDLOG-}" = console ]; then
36
	if [ "${RDLOG-}" = console ]; then
37
		BC_LOGFILE=/dev/console
37
		BC_LOGFILE=/dev/console
38
	elif [ "${RDLOG-}" = printk ]; then
39
		BC_LOGFILE=/dev/ttyprintk
40
		[ -e "$BC_LOGFILE" ] ||
41
			mknod "$BC_LOGFILE" c 5 3
38
	elif [ -z "${NOTTYS-}" ] &&
42
	elif [ -z "${NOTTYS-}" ] &&
39
		[ -n "$BC_LOG_VT" ] &&
43
		[ -n "$BC_LOG_VT" ] &&
40
		[ ! -c "$BC_LOGFILE" ] &&
44
		[ ! -c "$BC_LOGFILE" ] &&

Return to bug 41097