summaryrefslogtreecommitdiff
path: root/root/makeptydevs
Unidiff
Diffstat (limited to 'root/makeptydevs') (more/less context) (ignore 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 @@
1#!/bin/sh
2mkdir dev
3for i in 0 1 2 3 4 5 6 7 8 9
4do
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
8done