Bind mount /dev/pts instead of mounting new one

This commit is contained in:
sfan5 2020-08-23 22:07:02 +02:00
parent 55526a9cec
commit 09b74b5ef9

View file

@ -31,7 +31,7 @@ if ! ./busybox mount -t devtmpfs dev dev; then
./busybox rm -rf dev/pts ./busybox rm -rf dev/pts
./busybox mkdir dev/pts ./busybox mkdir dev/pts
fi fi
./busybox mount -t devpts devpts dev/pts ./busybox mount --bind /dev/pts dev/pts
TTY="$(./busybox tty)" TTY="$(./busybox tty)"