Bug#538257: inittab comment inconsistent with example.
Mark Hindley
mark at hindley.org.uk
Tue Feb 25 10:17:11 GMT 2025
Control: tags -1 patch forky
I suggest the following patch for forky-cycle.
Mark
commit 2de6da195d49da7d83d93da1dd6fddf5562c764b
Author: Mark Hindley <mark at hindley.org.uk>
Date: Tue Feb 25 10:11:49 2025 +0000
Update inittab on new installations to use inittab(5) consistent id names.
Closes: #538257
diff --git a/debian/share/inittab b/debian/share/inittab
index 5ac6f6d3..77dbf289 100644
--- a/debian/share/inittab
+++ b/debian/share/inittab
@@ -42,8 +42,8 @@ po::powerokwait:/etc/init.d/powerfail stop
# /sbin/getty invocations for the runlevels.
#
-# The "id" field MUST be the same as the last
-# characters of the device (after "tty").
+# The "id" field is traditionally the same as the
+# last characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
@@ -60,15 +60,15 @@ po::powerokwait:/etc/init.d/powerfail stop
# 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
+#S0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
+#S1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
#
# or on a USB serial line
#U0:23:respawn:/sbin/getty -L ttyUSB0 9600 vt100
# Example how to put a getty on a modem line.
#
-#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
+#S3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
# Example for systemd-nspawn
# Only /dev/console exists inside nspawn, so we need a getty on that.
More information about the Debian-init-diversity
mailing list