summaryrefslogtreecommitdiff
path: root/etc/etc.sparc/MAKEDEV
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2004-02-05 22:23:32 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2004-02-05 22:23:32 +0000
commit8c02d26d5b1809a4406ad7ace649366b469967d5 (patch)
tree6955f9c250276dd08f5eeb5ac554784803fc58e1 /etc/etc.sparc/MAKEDEV
parent59278f506d194fb13af9baf239bd3e931cb56778 (diff)
sync
Diffstat (limited to 'etc/etc.sparc/MAKEDEV')
-rw-r--r--etc/etc.sparc/MAKEDEV20
1 files changed, 2 insertions, 18 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index 032b0b0a840..adb33704dbf 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.19 2003/06/18 18:08:59 todd 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
#
#
@@ -510,22 +510,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]}"
@@ -534,7 +518,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