summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hooks/dmesg5
-rw-r--r--install/dmesg18
2 files changed, 23 insertions, 0 deletions
diff --git a/hooks/dmesg b/hooks/dmesg
new file mode 100644
index 0000000..f7d4088
--- /dev/null
+++ b/hooks/dmesg
@@ -0,0 +1,5 @@
+# vim: set ft=sh:
+run_hook ()
+{
+ dmesg -n 3
+}
diff --git a/install/dmesg b/install/dmesg
new file mode 100644
index 0000000..d25deba
--- /dev/null
+++ b/install/dmesg
@@ -0,0 +1,18 @@
+# vim: set ft=sh:
+install ()
+{
+ MODULES=""
+ BINARIES=""
+ FILES=""
+ SCRIPT="dmesg"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook lowers the console log level to 3.
+ It is useful when the user has to interact
+ with the boot process during early userspace
+ (like when entering a passphrase).
+HELPEOF
+} \ No newline at end of file