Correcting debug variables through out the code to use the same one.
[debian-live-boot.git] / scripts / boot / 0010-debug
blob9b57d56be5b2c06fd2cbf6cfd949c903042a94d8
1 #!/bin/sh
3 #set -e
5 Debug ()
7 for _PARAMETER in ${_CMDLINE}
8 do
9 case "${_PARAMETER}" in
10 live-boot.debug|debug)
11 LIVE_BOOT_DEBUG="true"
13 esac
14 done
16 case "${LIVE_BOOT_DEBUG}" in
17 true)
21 return 0
23 esac
25 # Write the trace output
26 set -x