From fa36c4929fabce1dfdaa3907ae3363e51837e8ff Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 23 Aug 2020 22:07:02 +0200 Subject: [PATCH] Bind mount /dev/pts instead of mounting new one --- takeover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/takeover.sh b/takeover.sh index 784b142..13fc360 100755 --- a/takeover.sh +++ b/takeover.sh @@ -31,7 +31,7 @@ if ! ./busybox mount -t devtmpfs dev dev; then ./busybox rm -rf dev/pts ./busybox mkdir dev/pts fi -./busybox mount -t devpts devpts dev/pts +./busybox mount --bind /dev/pts dev/pts TTY="$(./busybox tty)"