tty: Clear tty before login: prompt by default, add 'noclear' option

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-08 15:31:59 +02:00
1 parent 60f73dc952
commit e48901b90f
6 files changed
+17 -14

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ void set_hostname (char **hostname);
int complete (char *cmd, int pid);
int run (char *cmd);
int run_interactive (char *cmd, char *fmt, ...);
pid_t run_getty (char *tty, char *speed, char *term, int console);
pid_t run_getty (char *tty, char *speed, char *term, int noclear, int console);
int run_parts (char *dir, char *cmd);
static inline void create(char *path, mode_t mode, uid_t uid, gid_t gid)