summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-07-19 00:16:17 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-07-19 00:16:17 +0000
commit68006eafa23df2106e505ce1e130a537c6b9b95f (patch)
treec68bcd9d6422230a78bdcca4f623a985df575f3f /etc/etc.powerpc
parent475502d253bf5f9660b9854cd8578de570506625 (diff)
Create device nodes for powerpc port, device existed previously, just devnodes
were missing
Diffstat (limited to 'etc/etc.powerpc')
-rw-r--r--etc/etc.powerpc/MAKEDEV15
1 files changed, 14 insertions, 1 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index 479a1c39d68..7f09fa1b0e8 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.16 1998/05/29 04:22:18 rahnds Exp $
+# $OpenBSD: MAKEDEV,v 1.17 1998/07/19 00:16:16 rahnds Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -58,6 +58,7 @@
# bpf* packet filter
# tun* network tunnel driver
# lkm Device to for loadable kernel modules
+# *random inkernel random number generator
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@@ -92,6 +93,7 @@ all)
sh MAKEDEV tty00 tty01 pty0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 tun3
+ sh MAKEDEV random
sh MAKEDEV lkm
sh MAKEDEV local
;;
@@ -102,6 +104,7 @@ ramdisk)
sh MAKEDEV ofdisk0 ofdisk1 ofdisk2 ofdisk3 ofdisk4
sh MAKEDEV rd0
sh MAKEDEV ttyo0
+ sh MAKEDEV random
sh MAKEDEV tty00 tty01 pty0
;;
@@ -408,6 +411,16 @@ lkm)
chown root.kmem lkm
chmod 640 lkm
;;
+random|srandom|urandom|prandom|arandom)
+ rm -f random urandom srandom prandom arandom
+ mknod random c 40 0
+ mknod srandom c 40 1
+ mknod urandom c 40 2
+ mknod prandom c 40 3
+ mknod arandom c 40 4
+ chown root.wheel random srandom urandom prandom arandom
+ chmod 644 random srandom urandom prandom arandom
+ ;;
local)
umask 0