[RFC PATCH 03/13] utils/pb-console: Set up controlling terminal
Samuel Mendoza-Jonas
sam at mendozajonas.com
Thu Jun 28 16:41:41 AEST 2018
Enabling job control in the shell.
Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
utils/pb-console | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/pb-console b/utils/pb-console
index ef9ed0f..6295295 100644
--- 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 "$@"
--
2.18.0
More information about the Petitboot
mailing list