diff options
Diffstat (limited to 'scripts/boot/0010-debug')
| -rwxr-xr-x | scripts/boot/0010-debug | 27 | 
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 +} | 
