mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
TTY: Major overhaul, move to built-in getty
The TTY handling in Finit has always been a bit of a patch work. This commit is an attempt at a first cleanup and simplification. Included is a brand new built-in getty which should work fine on both virtual and serial consoles. It is however completely untested on the latter serial consoles. Still TODO: add support for /etc/securetty, add support for actually setting TERM when calling /bin/login. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
789354ab40
commit
d15633781b
8 files changed
+376
-126
No files matched your search
+1
-7
@@ -122,14 +122,8 @@ AC_ARG_WITH(random-seed,
|
||||
AS_IF([test "x$enable_embedded" = "xyes"],[
|
||||
AC_DEFINE(EMBEDDED_SYSTEM, 1, [Target an embedded system with BusyBox])
|
||||
AC_DEFINE(SETUP_DEVFS, "/sbin/mdev -s", [Command to populate /dev])
|
||||
AC_DEFINE(GETTY, "/sbin/getty -L", [Command to start getty on login prompt])
|
||||
AC_DEFINE(GETTY_BUSYBOX, 1, [Use BusyBox getty call syntax])
|
||||
AC_DEFINE(BAUDRATE, 115200, [Default getty baudrate])
|
||||
],[
|
||||
AC_DEFINE(SETUP_DEVFS, "/sbin/udevd --daemon", [Command to populate /dev])
|
||||
AC_DEFINE(GETTY, "/sbin/getty -8", [Command to start getty on login prompt])
|
||||
AC_DEFINE(GETTY_AGETTY, 1, [Use standard agetty call syntax])
|
||||
AC_DEFINE(BAUDRATE, 38400, [Default getty baudrate])])
|
||||
AC_DEFINE(SETUP_DEVFS, "/sbin/udevd --daemon", [Command to populate /dev])])
|
||||
|
||||
AS_IF([test "x$enable_rw_rootfs" = "xyes"],[
|
||||
AC_DEFINE(REMOUNT_ROOTFS, 1, [Remount / as rw at boot])])
|
||||
|
||||
Reference in new issue
Block a user