diff --git a/initrd/etc/ash_functions b/initrd/etc/ash_functions index 768d4627..f819af06 100644 --- a/initrd/etc/ash_functions +++ b/initrd/etc/ash_functions @@ -24,7 +24,9 @@ warn() { DEBUG() { if [ "$CONFIG_DEBUG_OUTPUT" = "y" ];then - echo "DEBUG: $*" | tee -a /tmp/debug.log /dev/kmsg > /dev/null; + echo "DEBUG: $*" | while read line; do + echo "$line" | tee -a /tmp/debug.log /dev/kmsg >/dev/null + done fi }