summaryrefslogtreecommitdiff
path: root/etc/etc.hppa/MAKEDEV
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 08:08:54 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 08:08:54 +0000
commit85f6ce677c7674403fbbb378abb393ce4d695af5 (patch)
tree0fade2829d257f873c714f6e5dc29e8c3c33f373 /etc/etc.hppa/MAKEDEV
parentd3f7ada71eed6243454783c9db7585b45d4fb589 (diff)
ch* creation on platforms which had them in conf.c but missed them in MAKEDEV
Diffstat (limited to 'etc/etc.hppa/MAKEDEV')
-rw-r--r--etc/etc.hppa/MAKEDEV13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/etc.hppa/MAKEDEV b/etc/etc.hppa/MAKEDEV
index eeffae7a2a8..377202aefb3 100644
--- a/etc/etc.hppa/MAKEDEV
+++ b/etc/etc.hppa/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.2 2000/03/22 07:34:28 niklas Exp $
+# $OpenBSD: MAKEDEV,v 1.3 2000/03/22 08:08:53 niklas Exp $
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
#
# Device "make" file. Valid arguments:
@@ -23,6 +23,7 @@
# lpt* IEEE 1284 cetronics iface
# Call units:
# Special purpose devices:
+# ch* SCSI media changer
# fd file descriptors
# hil HIL input devices
# bpf* packet filter
@@ -162,6 +163,16 @@ st*)
umask 77
;;
+ch*)
+ umask 2
+ name=ch; chr=13
+ rm -f $name$unit
+ mknod ${name}${unit} c $chr $unit
+ chown root.operator ${name}${unit}
+ chmod 660 ${name}${unit}
+ umask 77
+ ;;
+
bpf*)
unit=${i##*[a-z]}
rm -f bpf$unit