author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /root/makeptydevs | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
-rwxr-xr-x | root/makeptydevs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/root/makeptydevs b/root/makeptydevs new file mode 100755 index 0000000..723bbc0 --- a/dev/null +++ b/root/makeptydevs | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | mkdir dev | ||
3 | for i in 0 1 2 3 4 5 6 7 8 9 | ||
4 | do | ||
5 | mknod dev/ptyp$i c 2 $i | ||
6 | mknod dev/ttyp$i c 2 $i | ||
7 | chmod a+rw dev/ptyp$i dev/ttyp$i | ||
8 | done | ||