summaryrefslogtreecommitdiff
path: root/root/makeptydevs
authorkergoth <kergoth>2002-01-25 22:14:26 (UTC)
committer kergoth <kergoth>2002-01-25 22:14:26 (UTC)
commit15318cad33835e4e2dc620d033e43cd930676cdd (patch) (side-by-side diff)
treec2fa0399a2c47fda8e2cd0092c73a809d17f68eb /root/makeptydevs
downloadopie-15318cad33835e4e2dc620d033e43cd930676cdd.zip
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2
Initial revision
Diffstat (limited to 'root/makeptydevs') (more/less context) (show whitespace changes)
-rwxr-xr-xroot/makeptydevs8
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 @@
+#!/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