From cdeea6bf8b114e499c650e14549fd0affd5d5b4a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 26 Apr 2013 09:39:47 +0200 Subject: Renumbering the first three early scripts. --- scripts/boot/0010-debug | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 scripts/boot/0010-debug (limited to 'scripts/boot/0010-debug') 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 +} -- cgit v1.2.3