|
|
@ -4,7 +4,7 @@ |
|
|
|
# generated from: |
|
|
|
# |
|
|
|
# OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.10 2004/01/05 20:11:56 miod Exp |
|
|
|
# OpenBSD: MAKEDEV.mi,v 1.65 2004/01/12 22:31:34 todd Exp |
|
|
|
# OpenBSD: MAKEDEV.mi,v 1.67 2004/02/05 22:22:15 todd Exp |
|
|
|
# OpenBSD: MAKEDEV.sub,v 1.9 2004/01/12 22:18:24 todd Exp |
|
|
|
# |
|
|
|
# |
|
|
@ -387,22 +387,6 @@ esac |
|
|
|
done |
|
|
|
} |
|
|
|
R "$@" |
|
|
|
if [ "$os" = "SunOS" ]; then |
|
|
|
eo=transform |
|
|
|
transform() { |
|
|
|
case $mode in |
|
|
|
600) mask=077;; |
|
|
|
640) mask=027;; |
|
|
|
660) mask=007;; |
|
|
|
644) mask=022;; |
|
|
|
666) mask=0;; |
|
|
|
440) mask=227;; |
|
|
|
esac |
|
|
|
echo `echo "$@"|sed \ |
|
|
|
's/mknod -m \([0-9]*\) /umask '$mask';mknod /;s/-m [0-9]* //g;\ |
|
|
|
s/operator/5/g;s/root.kmem/root.2/g;s/root\./root:/g'` |
|
|
|
} |
|
|
|
fi |
|
|
|
list="$RMlist" |
|
|
|
for mode in $modes; do |
|
|
|
list="$list;${mklist[$mode]}" |
|
|
@ -411,7 +395,7 @@ for group in $groups; do |
|
|
|
list="$list;${grplist[$group]}" |
|
|
|
done |
|
|
|
list="$list;$MKlist" |
|
|
|
if [ "$eo" = "echo" -o "$eo" = "transform" ]; then |
|
|
|
if [ "$eo" = "echo" ]; then |
|
|
|
$eo "$list" |
|
|
|
else |
|
|
|
echo "$list" | sh |
|
|
|