summaryrefslogtreecommitdiff
path: root/root/makeptydevs
blob: 723bbc08f2a03dd5e372bf9c07fd1621e1d37c14 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
mkdir dev
for i in 0 1 2 3 4 5 6 7 8 9
do
    mknod dev/ptyp$i c 2 $i
    mknod dev/ttyp$i c 2 $i
    chmod a+rw dev/ptyp$i dev/ttyp$i
done