diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2004-02-05 22:22:16 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2004-02-05 22:22:16 +0000 |
commit | 59278f506d194fb13af9baf239bd3e931cb56778 (patch) | |
tree | c99e0b5bf73fd44a14188b8450e8a3465cb7cc3e /etc | |
parent | 55c56ef7136a4d14c07b479859b8c4c3113eb797 (diff) |
rm SunOS support, ok deraadt@, docs work in progress
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV.mi | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/etc/MAKEDEV.mi b/etc/MAKEDEV.mi index 076c305be73..50300c2c8ad 100644 --- a/etc/MAKEDEV.mi +++ b/etc/MAKEDEV.mi @@ -1,6 +1,6 @@ include(MAKEDEV.sub)dnl dnl -vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.66 2004/01/13 15:13:14 todd Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.67 2004/02/05 22:22:15 todd Exp $-})dnl dnl divert(1)dnl {-#-} @@ -816,22 +816,6 @@ esac done } _recurse "$@" -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]}" @@ -840,7 +824,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 |