1
0
mirror of https://github.com/marcan/takeover.sh.git synced 2020-11-18 19:38:40 -08:00

Bind mount /dev/pts instead of mounting new one

This commit is contained in:
sfan5 2020-08-23 22:07:02 +02:00 committed by Hector Martin
parent 55526a9cec
commit fa36c4929f

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)"