summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit5
1 files changed, 5 insertions, 0 deletions
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