mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
Improve debug option handling
This commit is contained in:
+3
-3
@@ -265,14 +265,14 @@ PCI_ARGS="${PCI_1_ARGS}"
|
||||
info "Booting image using $VERS..."
|
||||
|
||||
# See qemu command if debug is enabled
|
||||
if [[ -z "${DEBUG}" ]]; then
|
||||
DEBUG_ARGS=""
|
||||
else
|
||||
if [[ $DEBUG = "true" ]]; then
|
||||
set -x # Show final qemu command
|
||||
|
||||
# Not working as expected grub output will delete previous log messages
|
||||
#DEBUG_ARGS="-serial stdio" # Show OpenWrt kernel message in container log
|
||||
DEBUG_ARGS=""
|
||||
else
|
||||
DEBUG_ARGS=""
|
||||
fi
|
||||
|
||||
#************************ FINAL BOOTING ************************
|
||||
|
||||
Reference in New Issue
Block a user