projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afcd04
)
utils/pb-console: Exit after running getty in detached state
author
Jeremy Kerr
<jk@ozlabs.org>
Fri, 22 Nov 2013 01:36:58 +0000
(09:36 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Fri, 22 Nov 2013 02:45:54 +0000
(10:45 +0800)
... otherwise we'll try and bring the UI up on the current tty too.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/pb-console
patch
|
blob
|
history
diff --git
a/utils/pb-console
b/utils/pb-console
index e3bc8af14047b5872d8ad7f680e1521f289bd9ca..d846ea7614703dd80f590f45a6f74341889dd773 100644
(file)
--- a/
utils/pb-console
+++ b/
utils/pb-console
@@
-82,6
+82,7
@@
then
if [ "$detach" = 1 ]
then
$getty -l $0 "$@" &
+ exit
else
exec $getty -l $0 "$@"
fi