/etc/inittab*: set %serialspeed% in grmlserial settings.
[grml-etc.git] / etc / inittab.grml
index 39f5ae8..549bc18 100644 (file)
@@ -66,9 +66,10 @@ po::powerokwait:/etc/init.d/powerfail stop
 ################################################################################
 # 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)