mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Add comment for DISPLAY setting
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
@@ -529,6 +529,8 @@ int main()
|
||||
|
||||
/* Prevents bash from running loadkeys */
|
||||
unsetenv("TERM");
|
||||
|
||||
/* ConsoleKit needs this */
|
||||
setenv("DISPLAY", ":0", 1);
|
||||
|
||||
while (access("/tmp/shutdown", F_OK) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user