diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2004-02-05 22:23:32 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2004-02-05 22:23:32 +0000 |
commit | 8c02d26d5b1809a4406ad7ace649366b469967d5 (patch) | |
tree | 6955f9c250276dd08f5eeb5ac554784803fc58e1 /etc/etc.amd64 | |
parent | 59278f506d194fb13af9baf239bd3e931cb56778 (diff) |
sync
Diffstat (limited to 'etc/etc.amd64')
-rw-r--r-- | etc/etc.amd64/MAKEDEV | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/etc/etc.amd64/MAKEDEV b/etc/etc.amd64/MAKEDEV index a0ea38844d4..612a17044c1 100644 --- a/etc/etc.amd64/MAKEDEV +++ b/etc/etc.amd64/MAKEDEV @@ -4,7 +4,7 @@ # generated from: # # OpenBSD: etc.amd64/MAKEDEV.md,v 1.1 2004/01/28 02:11:53 mickey Exp -# OpenBSD: MAKEDEV.mi,v 1.66 2004/01/13 15:13:14 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 # # @@ -600,22 +600,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]}" @@ -624,7 +608,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 |