From 72f9d99901161b02513153eb3e587553fb21165e Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Fri, 26 Mar 2010 14:33:44 +0000 Subject: init: load the netconsole module with netconsole bootarg [ merge from 0.92bubuntu71 ] Signed-off-by: maximilian attems --- init | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init') diff --git a/init b/init index 05853b4..f5b0646 100755 --- a/init +++ b/init @@ -169,6 +169,9 @@ for x in $(cat /proc/cmdline); do blacklist=*) blacklist=${x#blacklist=} ;; + netconsole=*) + netconsole=${x#netconsole=} + ;; esac done @@ -177,6 +180,8 @@ if [ -n "${noresume}" ]; then unset resume fi +[ -n "${netconsole}" ] && modprobe netconsole netconsole="${netconsole}" + maybe_break top # Don't do log messages here to avoid confusing usplash -- cgit v1.2.3