public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0025b6e
)
init: don't acquire a controlling tty
author
Alan Cox
<alan@linux.intel.com>
Sat, 9 Jan 2016 20:45:01 +0000
(20:45 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 9 Jan 2016 20:45:01 +0000
(20:45 +0000)
We want getty to be controlling /dev/tty1 so it that the shell can do job
control on it once that all works.
Applications/util/init.c
patch
|
blob
|
history
diff --git
a/Applications/util/init.c
b/Applications/util/init.c
index
a9b4e73
..
f8b2f13
100644
(file)
--- a/
Applications/util/init.c
+++ b/
Applications/util/init.c
@@
-483,7
+483,7
@@
int main(int argc, char *argv[])
/* loop until we can open the first terminal */
do {
- fdtty1 = open("/dev/tty1", O_RDWR);
+ fdtty1 = open("/dev/tty1", O_RDWR
|O_NOCTTY
);
} while (fdtty1 < 0);
/* make stdin, stdout and stderr point to /dev/tty1 */