TERM=linux for script launching.

This commit is contained in:
sorgelig
2019-06-07 12:53:55 +08:00
parent 8c7560209b
commit f230b200d1

View File

@@ -3998,7 +3998,7 @@ void HandleUI(void)
ttypid = fork();
if (!ttypid)
{
execl("/sbin/agetty", "/sbin/agetty", "-a", "root", "-l", "/tmp/script", "--nohostname", "-L", "tty2", "xterm", NULL);
execl("/sbin/agetty", "/sbin/agetty", "-a", "root", "-l", "/tmp/script", "--nohostname", "-L", "tty2", "linux", NULL);
exit(0); //should never be reached
}
}