From f230b200d165aac6cc8b6b7aa32645c87ad54630 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Fri, 7 Jun 2019 12:53:55 +0800 Subject: [PATCH] TERM=linux for script launching. --- menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.cpp b/menu.cpp index d4abbe0..136b230 100644 --- a/menu.cpp +++ b/menu.cpp @@ -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 } }