|
@ -1,7 +1,7 @@ |
|
|
define(COMM,`#')dnl |
|
|
define(COMM,`#')dnl |
|
|
include(MAKEDEV.sub)dnl |
|
|
include(MAKEDEV.sub)dnl |
|
|
dnl |
|
|
dnl |
|
|
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.80 2011/04/18 16:52:10 thib Exp $-})dnl |
|
|
|
|
|
|
|
|
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.81 2012/11/05 08:07:09 jasper Exp $-})dnl |
|
|
dnl |
|
|
dnl |
|
|
divert(1)dnl |
|
|
divert(1)dnl |
|
|
{-#-} |
|
|
{-#-} |
|
@ -181,19 +181,19 @@ M() { |
|
|
mkl ${5-666} {-$-}1 {-$-}2 {-$-}3 {-$-}4 |
|
|
mkl ${5-666} {-$-}1 {-$-}2 {-$-}3 {-$-}4 |
|
|
G={-$-}{6:-wheel} |
|
|
G={-$-}{6:-wheel} |
|
|
[ "{-$-}7" ] && { |
|
|
[ "{-$-}7" ] && { |
|
|
MKlist[{-$-}{#MKlist[*]}]=";chown {-$-}7:{-$-}G {-$-}1" |
|
|
|
|
|
|
|
|
MKlist[{-$-}{#MKlist[*]}]="&& chown {-$-}7:{-$-}G {-$-}1" |
|
|
} || { |
|
|
} || { |
|
|
case $G in |
|
|
case $G in |
|
|
wheel) |
|
|
wheel) |
|
|
[ {-$-}{#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" |
|
|
|
|
|
|
|
|
[ {-$-}{#whlist[*]} = 0 ] && whlist[0]="&& chgrp wheel" |
|
|
whlist[{-$-}{#whlist[*]}]="$1" |
|
|
whlist[{-$-}{#whlist[*]}]="$1" |
|
|
;; |
|
|
;; |
|
|
operator) |
|
|
operator) |
|
|
[ {-$-}{#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" |
|
|
|
|
|
|
|
|
[ {-$-}{#oplist[*]} = 0 ] && oplist[0]="&& chgrp operator" |
|
|
oplist[{-$-}{#oplist[*]}]="$1" |
|
|
oplist[{-$-}{#oplist[*]}]="$1" |
|
|
;; |
|
|
;; |
|
|
*) |
|
|
*) |
|
|
MKlist[{-$-}{#MKlist[*]}]=";chgrp $G $1"; |
|
|
|
|
|
|
|
|
MKlist[{-$-}{#MKlist[*]}]="&& chgrp $G $1"; |
|
|
esac |
|
|
esac |
|
|
} |
|
|
} |
|
|
return 0 |
|
|
return 0 |
|
|