diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-02 08:21:56 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-02 08:21:56 +0000 |
commit | bc76e956cbb98625c1f78603cc0873e5997e737f (patch) | |
tree | 74a2819ade9feb20b7bb7a1c5e6157e8fde864a6 /etc/etc.amiga | |
parent | e59f566388a6f013c777080c115f3ff0850a25e5 (diff) |
Add missing ch* device creation case. Remove ipl & ipf before recreating
Diffstat (limited to 'etc/etc.amiga')
-rw-r--r-- | etc/etc.amiga/MAKEDEV | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV index 2583bb334ce..12529e76f84 100644 --- a/etc/etc.amiga/MAKEDEV +++ b/etc/etc.amiga/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.19 1997/04/23 20:38:59 gvf Exp $ +# $OpenBSD: MAKEDEV,v 1.20 1997/05/02 08:21:55 niklas Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -120,7 +120,7 @@ floppy) std) rm -f console drum kmem mem reload null zero tty - rm -f klog stdin stdout stderr + rm -f klog stdin stdout stderr ipf mknod console c 0 0 mknod drum c 3 0 ; chmod 640 drum ; chown root.kmem drum mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem @@ -253,6 +253,18 @@ sd*|vnd*|ccd*|wd*) umask 77 ;; +ch*) + umask 2 ; unit=`expr $i : '..\(.*\)'` + case $i in + ch*) name=ch; chr=40;; + esac + rm -f $name$unit + mknod $name$unit c $chr `expr $unit '*' 16 + 0` + chown root.operator $name$unit + chmod 640 $name$unit + umask 77 + ;; + cd*|acd*) umask 2 ; unit=`expr $i : '.*cd\(.*\)'` case $i in @@ -451,6 +463,7 @@ lpt*|lpa*) ;; ipl) + rm -f ipl mknod ipl c 34 0 chown root.wheel ipl ;; |