summaryrefslogtreecommitdiff
path: root/scripts/boot/0010-debug
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-04-26 09:39:47 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 13:54:17 +0200
commitcdeea6bf8b114e499c650e14549fd0affd5d5b4a (patch)
tree477b4fb322a2ca41484883e1cdd3de07afbeb24b /scripts/boot/0010-debug
parent53bb5b1c1f1747f2a4fb0e31321a85302692c920 (diff)
downloadlive-boot-cdeea6bf8b114e499c650e14549fd0affd5d5b4a.tar.gz
live-boot-cdeea6bf8b114e499c650e14549fd0affd5d5b4a.zip
Renumbering the first three early scripts.
Diffstat (limited to 'scripts/boot/0010-debug')
-rwxr-xr-xscripts/boot/0010-debug27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/boot/0010-debug b/scripts/boot/0010-debug
new file mode 100755
index 0000000..f223e93
--- /dev/null
+++ b/scripts/boot/0010-debug
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+#set -e
+
+Debug ()
+{
+ for _PARAMETER in ${_CMDLINE}
+ do
+ case "${_PARAMETER}" in
+ live-boot.debug|debug)
+ LIVE_DEBUG="true"
+ ;;
+ esac
+ done
+
+ case "${LIVE_DEBUG}" in
+ true)
+ ;;
+
+ *)
+ return 0
+ ;;
+ esac
+
+ # Write the trace output
+ set -x
+}