summaryrefslogtreecommitdiff
path: root/etc/etc.atari/MAKEDEV
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-15 14:59:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-15 14:59:22 +0000
commit4a86d77349a4aa1e1ada6d019d7e2207e9c8ef55 (patch)
tree8d9ae6da78a1d3f113f5a92ff37fee946b0dcc91 /etc/etc.atari/MAKEDEV
parent86808c1792db3660ec637ca3878dbf939075b0a7 (diff)
ad rnd devices.
Diffstat (limited to 'etc/etc.atari/MAKEDEV')
-rw-r--r--etc/etc.atari/MAKEDEV13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV
index a7b99e9fe0b..021caa3fbd0 100644
--- a/etc/etc.atari/MAKEDEV
+++ b/etc/etc.atari/MAKEDEV
@@ -79,6 +79,7 @@
# lkm loadable kernel modules interface.
# bpf* Berkeley Packet Filter
# tun* network tunnel driver
+# *rnd random data source
PATH=/sbin:/bin:/usr/sbin:/usr/bin
umask 77
@@ -92,7 +93,7 @@ all)
sh MAKEDEV vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0
sh MAKEDEV vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
- sh MAKEDEV tun0 tun1 lkm ser02 mdm02 lpt0 local
+ sh MAKEDEV tun0 tun1 lkm ser02 mdm02 lpt0 rnd local
;;
floppy)
@@ -396,6 +397,16 @@ lkm)
chmod 640 lkm
;;
+rnd|srnd|urnd|prnd)
+ rm -f rnd urnd srnd prnd
+ mknod rnd c 30 0
+ mknod srnd c 30 1
+ mknod urnd c 30 2
+ mknod prnd c 30 3
+ chown root.wheel rnd srnd urnd prnd
+ chmod 644 rnd srnd urnd prnd
+ ;;
+
local)
umask 0
sh MAKEDEV.local