summaryrefslogtreecommitdiff
path: root/etc/etc.alpha/MAKEDEV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-06 17:29:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-06 17:29:33 +0000
commit4022e0fe7645c5088b553871247ce41cda52f384 (patch)
treed1251854bba12ce1fe4c78aeed9825b76b6f1eeb /etc/etc.alpha/MAKEDEV
parenta04699eec0962398977692add18877c3b3f88fc8 (diff)
from netbsd; add a way to build kbd and mouse devices
Diffstat (limited to 'etc/etc.alpha/MAKEDEV')
-rw-r--r--etc/etc.alpha/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
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