distro files and init: set term var in init and fix prompt size

This commit is contained in:
Matheus
2023-01-05 01:43:50 -03:00
parent 78b9724b38
commit e685f48381
2 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ int main(int argc, char* argv[]){
chdir(pw->pw_dir);
setenv("PATH", "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin", 1);
setenv("DISPLAY", ":0", 1);
setenv("TERM", "linux", 1);
printf("init: running /etc/rc\n");
// execute init script