mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +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 */
|
/* Prevents bash from running loadkeys */
|
||||||
unsetenv("TERM");
|
unsetenv("TERM");
|
||||||
|
|
||||||
|
/* ConsoleKit needs this */
|
||||||
setenv("DISPLAY", ":0", 1);
|
setenv("DISPLAY", ":0", 1);
|
||||||
|
|
||||||
while (access("/tmp/shutdown", F_OK) < 0) {
|
while (access("/tmp/shutdown", F_OK) < 0) {
|
||||||
|
|||||||
Reference in new issue
Block a user