Browse Source

But only if explicitly asked for (until zs code is finialized)

OPENBSD_2_3
jason 27 years ago
parent
commit
5b743ceafc
1 changed files with 15 additions and 2 deletions
  1. +15
    -2
      src/etc/etc.sparc/MAKEDEV

+ 15
- 2
src/etc/etc.sparc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.38 1998/03/02 14:20:32 jason Exp $
# $OpenBSD: MAKEDEV,v 1.39 1998/03/02 14:32:26 jason Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -480,8 +480,21 @@ tty[a-z])
*) echo unknown tty device $i ;; *) echo unknown tty device $i ;;
esac esac
mknod tty$unit c 12 $n mknod tty$unit c 12 $n
chown uucp.wheel tty$unit
;;
cua[a-z])
unit=`expr $i : 'cua\([a-z]\)'`
rm -f cua$unit
case $unit in
a) n=0 ;;
b) n=1 ;;
c) n=4 ;;
d) n=5 ;;
*) echo unknown cua device $i ;;
esac
mknod cua$unit c 12 `add $n 128` mknod cua$unit c 12 `add $n 128`
chown uucp.wheel tty$unit cua$unit
chown uucp.wheel cua$unit
;; ;;
pty*) pty*)


Loading…
Cancel
Save