summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>1997-04-22 07:43:51 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>1997-04-22 07:43:51 +0000
commit211a8fe15bbac7ddb312aa91c64985757886ef20 (patch)
tree9fcebf4212efb16ae02b77f3b96ca3fd458bff4c /etc
parent4388edd2a96895afb9d61cae1a8e0226985b39a1 (diff)
removed uname requirement; if not OpenBSD execute with 'os=`uname -s`' as
an environment variable
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.sparc/MAKEDEV9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index 16bbce51b25..6ac1784373a 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.18 1997/04/22 07:05:12 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.19 1997/04/22 07:43:50 todd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -73,8 +73,8 @@ PATH=/sbin:/bin/:/usr/bin:/usr/sbin:/usr/etc
this=$0
umask 77
-case `uname -s` in
-SunOS|*) add ()
+case "$os" in # set os in the environment if not OpenBSD
+SunOS) add ()
{
expr $1 + $2
}
@@ -409,9 +409,6 @@ pty*)
n=`add $n 1`
done
umask 77
- if [ $unit = 1 ]; then
- mv ttyqf ttyv0; mv ptyqf ptyv0
- fi
;;
esac
;;