diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-21 15:06:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-21 15:06:31 +0000 |
commit | d68c8b115af31385353126126df0b6109ea5c485 (patch) | |
tree | 1c97ae2909d8668d71130a990920d4f9c5a0cfe4 | |
parent | 1a6c4691bd5bd80d9038c1ea57f70f5920c33d35 (diff) |
from netbsd; add mmclock node
-rw-r--r-- | etc/etc.alpha/MAKEDEV | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index 9497fb25ec6..ceac699a095 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.5 1995/08/17 18:02:27 thorpej Exp $ +# $NetBSD: MAKEDEV,v 1.6 1995/12/20 10:27:34 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -61,6 +61,7 @@ # fd file descriptors # lkm loadable kernel modules interface # tun* network tunnel driver +# mmclock memory mapped clock PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 77 @@ -73,7 +74,8 @@ all) sh MAKEDEV st0 st1 ch0 cd0 cd1 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 - sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm local + sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm + sh MAKEDEV mmclock local ;; std) @@ -247,6 +249,12 @@ lkm) chmod 640 lkm ;; +mmclock) + rm -f mmclock + mknod mmclock c 28 0 + chmod 444 mmclock + ;; + local) umask 0 sh MAKEDEV.local |