summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-08-12 22:53:08 +0200
committer Eric Hameleers <alien@slackware.com>2022-08-12 22:53:08 +0200
commit5b257dcf3076051d2a6edf2b96b00c6944c3c471 (patch)
tree8e3ef46410953a502bdaa994e6d9b6f2005b0c8a /liveinit.tpl
parentc234b0d0ea56f4c3f9e4e6e8f4ab6a794968a6c6 (diff)
downloadliveslak-5b257dcf3076051d2a6edf2b96b00c6944c3c471.tar.gz
liveslak-5b257dcf3076051d2a6edf2b96b00c6944c3c471.tar.xz
liveinit: require debug=5 to save init debug output to file
Diffstat (limited to 'liveinit.tpl')
-rw-r--r--liveinit.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index 81f0368..cd72656 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -77,7 +77,8 @@ WIPE_PERSISTENCE=0
# Used for debugging the init;
# Set DEBUG to '1' to enable explicit pauses; '2' enables verbose script exec;
-# and '4' dumps you into a debug shell right before the switch_root:
+# '4' dumps you into a debug shell right before the switch_root, and '5'
+# additionally saves the verbose init execution output to 'debug_init.log':
DEBUG=0
DEBUGV=" "
@@ -322,7 +323,7 @@ done
# Verbose boot script execution:
if [ $DEBUG -ge 2 ]; then
- if [ $DEBUG -ge 4 ]; then
+ if [ $DEBUG -ge 5 ]; then
# We save (verbose) shell output to local file;
# These busybox compile options make it possible:
# CONFIG_SH_IS_ASH=y