################################################################################
# Please do NOT remove the following lines as they are important for the
# bootoption serial/console. All lines starting with "#grmlserial#" will be
-# activated then.
-#grmlserial#T0:23:respawn:/sbin/getty -L ttyS0 -l /usr/bin/zsh-login 115200,57600,38400,19200,9600,4800,2400,1200 vt100
-#grmlserial#T1:23:respawn:/sbin/getty -L ttyS1 -l /usr/bin/zsh-login 115200,57600,38400,19200,9600,4800,2400,1200 vt100
+# activated and %serialspeed% will be replaced with the according baude rate
+# settings specified on kernel command line then.
+#grmlserial#T0:23:respawn:/bin/bash -c "/sbin/getty -L ttyS0 -l /usr/bin/zsh-login %serialspeed% vt100 || sleep 30"
+#grmlserial#T1:23:respawn:/bin/bash -c "/sbin/getty -L ttyS1 -l /usr/bin/zsh-login %serialspeed% vt100 || sleep 30"
################################################################################
# Example how to put a getty on a serial line (for a terminal)
################################################################################
# Please do NOT remove the following lines as they are important for the
# bootoption serial/console. All lines starting with "#grmlserial#" will be
-# activated then.
-#grmlserial#T0:23:respawn:/sbin/getty -L ttyS0 -l /usr/bin/zsh-login 115200,57600,38400,19200,9600,4800,2400,1200 vt100
-#grmlserial#T1:23:respawn:/sbin/getty -L ttyS1 -l /usr/bin/zsh-login 115200,57600,38400,19200,9600,4800,2400,1200 vt100
+# activated and %serialspeed% will be replaced with the according baude rate
+# settings specified on kernel command line then.
+#grmlserial#T0:23:respawn:/bin/bash -c "/sbin/getty -L ttyS0 -l /usr/bin/zsh-login %serialspeed% vt100 || sleep 30"
+#grmlserial#T1:23:respawn:/bin/bash -c "/sbin/getty -L ttyS1 -l /usr/bin/zsh-login %serialspeed% vt100 || sleep 30"
################################################################################
# Example how to put a getty on a serial line (for a terminal)
-#
# T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
# T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
-
-# Important! Please do not remove the following 2 lines as the are important for cheatcode serial:
-#T0:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS0 || sleep 30"
-#T1:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS1 || sleep 30"
-# Important! #####################################################################################
+# T0:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS0 || sleep 30"
+# T1:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS1 || sleep 30"
# Example how to put a getty on a modem line.
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3