summaryrefslogtreecommitdiff
path: root/etc/etc.sun3
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.sun3
parent86808c1792db3660ec637ca3878dbf939075b0a7 (diff)
ad rnd devices.
Diffstat (limited to 'etc/etc.sun3')
-rw-r--r--etc/etc.sun3/MAKEDEV15
1 files changed, 13 insertions, 2 deletions
diff --git a/etc/etc.sun3/MAKEDEV b/etc/etc.sun3/MAKEDEV
index 15fe326b509..ee20ba098ce 100644
--- a/etc/etc.sun3/MAKEDEV
+++ b/etc/etc.sun3/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.6 1996/03/28 18:24:39 niklas Exp $
+# $OpenBSD: MAKEDEV,v 1.7 1996/07/15 14:59:20 mickey Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -58,6 +58,7 @@
# lkm loadable kernel modules interface
# tun* network tunnel driver
# rd* RAM-disk
+# *rnd random data source
# XXX - Keep /usr/etc so SunOS can find chown
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc
@@ -83,7 +84,7 @@ unit=`expr $arg : '[a-z][a-z]*\([0-9][0-9]*\)'`
case $arg in
all)
- sh MAKEDEV std fd sd0 sd1 sd2 sd3 st0 st1 pty0
+ sh MAKEDEV std fd sd0 sd1 sd2 sd3 st0 st1 pty0 rnd
;;
std)
@@ -207,6 +208,16 @@ rd*)
mk rd${unit}c b 13 `expr $unit + 16`
;;
+rnd|srnd|urnd|prnd)
+ rm -f rnd urnd srnd prnd
+ mknod rnd c 72 0
+ mknod srnd c 72 1
+ mknod urnd c 72 2
+ mknod prnd c 72 3
+ chown root.wheel rnd srnd urnd prnd
+ chmod 644 rnd srnd urnd prnd
+ ;;
+
local)
umask 0
sh MAKEDEV.local