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:
parent
55526a9cec
commit
fa36c4929f
@ -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)"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user