blob: 361c1da239e0fdcfce6110e03e95d1572ad8ea0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 8ff0a825348f5a0c628540d3a859a73624c7f066 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 27 Oct 2011 12:05:27 +0000
Subject: [PATCH 2/2] init: new boot option: debug_init
will enable lots of verbose debugging
---
initramfs-init.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/initramfs-init.in b/initramfs-init.in
index 7c477c7..69e8d27 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -289,6 +289,9 @@ while [ $# -gt 0 ]; do
shift
done
+# enable debugging if requested
+[ -n "$KOPT_debug_init" ] && set -x
+
# pick first keymap if found
for map in /etc/keymap/*; do
if [ -f "$map" ]; then
--
1.7.7.1
|