projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eee2fc
)
utils/pb-console: Set up controlling terminal
author
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Fri, 1 Jun 2018 02:55:16 +0000
(12:55 +1000)
committer
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Mon, 3 Dec 2018 03:39:57 +0000
(14:39 +1100)
Enabling job control in the shell.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
utils/pb-console
patch
|
blob
|
history
diff --git
a/utils/pb-console
b/utils/pb-console
index ef9ed0f61d455a8fc85757611d0dab374fa8e90c..62952959a10b03409f6d8f5bc5de7b67f1d748c4 100644
(file)
--- a/
utils/pb-console
+++ b/
utils/pb-console
@@
-94,7
+94,7
@@
then
if [ "$detach" = 1 ]
then
- $getty $login_arg "$@" &
+
setsid -c
$getty $login_arg "$@" &
exit
else
exec $getty $login_arg "$@"