* add enss* to ss*

* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
This commit is contained in:
lukem 1997-08-22 11:26:01 +00:00
parent 5629b8d007
commit fcbf94775b

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.29 1997/07/31 04:08:29 perry Exp $
# $NetBSD: MAKEDEV,v 1.30 1997/08/22 11:26:01 lukem Exp $
#
# Device "make" file. Valid arguments:
# all a smattering--at least one of each except
@ -156,11 +156,12 @@ ss*)
case $i in
ss*) name=ss; unit=${i#ss}; chr=33;;
esac
rm -f $name$unit n$name$unit
rm -f $name$unit n$name$unit en$name$unit
mknod $name$unit c $chr $(($unit * 16 + 0))
mknod n$name$unit c $chr $(($unit * 16 + 1))
chgrp operator $name$unit n$name$unit
chmod 640 $name$unit n$name$unit
mknod en$name$unit c $chr $(($unit * 16 + 3))
chgrp operator $name$unit n$name$unit en$name$unit
chmod 640 $name$unit n$name$unit en$name$unit
;;
sd*|vnd*|ccd*)
@ -255,7 +256,7 @@ st*)
mknod enr$name$unit c $chr $(($unit * 16 + 3))
chgrp operator $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
chmod 640 $name$unit n$name$unit e$name$unit en$name$unit \
chmod 660 $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
;;
@ -319,7 +320,8 @@ asc*)
local)
umask 0
sh MAKEDEV.local all
sh $0.local all
umask 77
;;
*)