package/sysvinit: comment out login line in inittab if getty is disabled
authorCarlos Santos <unixmania@gmail.com>
Sun, 27 Oct 2019 13:00:07 +0000 (10:00 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 27 Oct 2019 13:09:35 +0000 (14:09 +0100)
commit5f68c30ebfb7a38c11fb6543c64c72fe407735aa
tree73c63736937d82bd07812836a463dad9b673223f
parent87f76483b91c1cef5f50dd5b5aace42220656e5c
package/sysvinit: comment out login line in inittab if getty is disabled

When the "Run a getty" option is disabled, sysvinit doesn't remove the
/etc/inittab line from previous builds. With this patch, the line is
correctly commented out.

Based on similar change made by Stephen Bos <stephen.bos@hagergroup.com>
and Christophe Blaess <christophe.blaess@logilin.fr> for busybox.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sysvinit/sysvinit.mk