diff options
| author | Scott James Remnant <scott@ubuntu.com> | 2010-03-26 14:33:44 +0000 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2010-03-27 16:32:33 +0100 |
| commit | 72f9d99901161b02513153eb3e587553fb21165e (patch) | |
| tree | ec9742528027a9d52f068b84fa9d932155b52f1a | |
| parent | c713fd9872c4b917d89df89ddbc6c471d52c67d8 (diff) | |
| download | initramfs-tools-72f9d99901161b02513153eb3e587553fb21165e.tar.gz initramfs-tools-72f9d99901161b02513153eb3e587553fb21165e.zip | |
init: load the netconsole module with netconsole bootarg
[ merge from 0.92bubuntu71 ]
Signed-off-by: maximilian attems <maks@debian.org>
| -rwxr-xr-x | init | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
