Joachim Nilsson
dec21e758a
Fix #78 : Support agetty cmd line format for external getty
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-30 14:44:10 +02:00
Joachim Nilsson
f7b9b7be96
tty.c: Free memory for external getty on tty_unregister()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-27 16:57:26 +02:00
Joachim Nilsson
74affb32d3
tty_register(): Fix parser for external getty
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-27 16:43:01 +02:00
Joachim Nilsson
19fcfcfef4
Initial support for external getty
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-27 15:02:55 +02:00
Joachim Nilsson
b20fafd9fa
tty.c: Add support for reloading a single TTY
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-14 11:03:59 +02:00
Joachim Nilsson
62081d9525
tty.c: Refactor, break out enabled check + stop/start
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-14 11:03:10 +02:00
Joachim Nilsson
100b4c70e4
tty_enabled(): Simplify, tty_exists() checks for existence
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-14 10:54:51 +02:00
Joachim Nilsson
8aef1e76c3
Follow-up to eec32e2: Support for removing TTYs at runtime
...
In commit eec32e2 support for reloading TTY configurations was added.
This patch is a follow-up to that with support for cleaning up and
removing allocated TTYs.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-09 15:05:32 +02:00
Joachim Nilsson
963b736d8b
tty: Refactor, remove useless runlevel argument
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-09 15:05:32 +02:00
Joachim Nilsson
4cc3aed139
Avoid 2 sec block of Finit when stopping TTYs
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-09 15:05:32 +02:00
Joachim Nilsson
d34ee62f77
Update copyright years
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 15:32:24 +02:00
Joachim Nilsson
e48901b90f
tty: Clear tty before login: prompt by default, add 'noclear' option
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 15:31:59 +02:00
Joachim Nilsson
60f73dc952
tty.c: Refactor parsing of tty .conf stanza in tty_register()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 15:30:51 +02:00
Joachim Nilsson
8505db24b7
Refactor, rename local variables
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 12:28:52 +02:00
Joachim Nilsson
560adb2065
Remove debug message(s) from tty_fallback()
...
When the TTY fallback mechanism is enabled tty_fallback() prints this
annoying debug message whenever *any* is process is collected by PID 1:
"Not starting fallback (%d) shell, lost pid %d", fallback, lost"
This patch removes it, and a two other useless debug messages.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 11:06:28 +02:00
Joachim Nilsson
fff68b7b06
Relocate source files to an src/ subdirectory
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-01-16 01:31:02 +01:00