1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Remove DEFAULT_STUFF environmental variable from init(1).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-04-03 00:57:30 +02:00
parent 7f7fd66039
commit d2cea190a8

View file

@ -165,14 +165,12 @@ int child()
setenv("HOME", home, 1);
shell = passwd->pw_shell[0] ? passwd->pw_shell : default_shell;
setenv("SHELL", shell, 1);
setenv("DEFAULT_STUFF", "NO", 1);
}
else
{
setenv("USERNAME", "root", 1);
setenv("HOME", home = default_home, 1);
setenv("SHELL", shell = default_shell, 1);
setenv("DEFAULT_STUFF", "YES", 1);
}
chdir(home);