From 4022e0fe7645c5088b553871247ce41cda52f384 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 6 Jan 1996 17:29:33 +0000 Subject: from netbsd; add a way to build kbd and mouse devices --- etc/etc.alpha/MAKEDEV | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'etc/etc.alpha/MAKEDEV') diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index ceac699a095..a6f59290474 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.6 1995/12/20 10:27:34 cgd Exp $ +# $NetBSD: MAKEDEV,v 1.7 1996/01/05 17:12:39 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -62,6 +62,8 @@ # lkm loadable kernel modules interface # tun* network tunnel driver # mmclock memory mapped clock +# kbd keyboard (provides events, for X11) +# mouse mouse (provides events, for X11) PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 77 @@ -75,7 +77,7 @@ all) 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 - sh MAKEDEV mmclock local + sh MAKEDEV mmclock kbd mouse local ;; std) @@ -255,6 +257,18 @@ mmclock) chmod 444 mmclock ;; +kbd) + rm -f kbd + mknod kbd c 29 0 + chmod 666 kbd + ;; + +mouse) + rm -f mouse + mknod mouse c 30 0 + chmod 666 mouse + ;; + local) umask 0 sh MAKEDEV.local -- cgit v1.2.3