exit 1
fi
+exit 0
+
cat >$FAI_ROOT/etc/grub.d/40_custom <<EOF
#!/bin/sh
exec tail -n +3 \$0
# https://www.coreboot.org/Serial_console # tty
# but removed unneeded stuff
-serial --speed=$speed
+serial --speed=115200
terminal_input --append serial
terminal_output --append serial
EOF