summaryrefslogtreecommitdiff
path: root/scripts/boot/0110-debug
blob: a74dcb72ebd8e6762be30360208f17cef57d07bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

#set -e

Debug ()
{
	for _PARAMETER in ${_CMDLINE}
	do
		case "${_PARAMETER}" in
			live-boot.debug|debug)
				LIVE_DEBUG="true"
				;;
		esac
	done

	if [ "${LIVE_DEBUG}" != "true" ]
	then
		return 0
	fi

	set -x
}