debugshell () {
	if [ "$BOOT_DEBUG" -gt 2 ]; then
		echo "This is a debug shell ($1)."
		sh || true
	fi
}

if [ "$BOOT_DEBUG" -gt 1 ]; then
	set -x
fi
