mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +00:00
Add comment for DISPLAY setting
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
85fedac866
commit
a2de2c1591
1 file changed
+2
@@ -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