diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-28 08:55:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-28 08:55:31 +0000 |
commit | f4ba69786bd9f211dfdc9314b2faa3854b270866 (patch) | |
tree | 6e9cb3848ebc2e659780f5d99ccd20bc1175c323 /etc/etc.arc/MAKEDEV | |
parent | b8dca4b76ac15a97714916dbf440d3bff7b48186 (diff) |
fix all random device node entry stuff
Diffstat (limited to 'etc/etc.arc/MAKEDEV')
-rw-r--r-- | etc/etc.arc/MAKEDEV | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 6d556bd3cb7..44b47eb657a 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.3 1996/08/26 11:03:49 pefo Exp $ +# $OpenBSD: MAKEDEV,v 1.4 1996/08/28 08:55:21 deraadt Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -40,7 +40,7 @@ # bpf* packet filter # lkm loadable kernel modules interface # tun* network tunnel driver -# *rnd random data source +# *random random data source # # Platform-specific devices: # @@ -53,7 +53,7 @@ case $i in all) sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty0 tty1 pty0 pty1 - sh MAKEDEV ttyC0 lpt0 pms0 rnd bpf0 local + sh MAKEDEV ttyC0 lpt0 pms0 random bpf0 local ;; std) @@ -243,14 +243,15 @@ pty*) esac ;; -rnd|srnd|urnd|prnd) - rm -f rnd urnd srnd prnd - mknod rnd c 32 0 - mknod srnd c 32 1 - mknod urnd c 32 2 - mknod prnd c 32 3 - chown root.wheel rnd srnd urnd prnd - chmod 644 rnd srnd urnd prnd +random|srandom|urandom|prandom|arandom) + rm -f random urandom srandom prandom arandom + mknod random c 32 0 + mknod srandom c 32 1 + mknod urandom c 32 2 + mknod prandom c 32 3 + mknod arandom c 32 4 + chown root.wheel random srandom urandom prandom arandom + chmod 644 random srandom urandom prandom arandom ;; local) |