Browse Source

Change the default serial port device and /var/spool/lock permissions.

/var/spool/lock becomes uucp.dialer, mode 1775, and serial devices
become uucp.dialer, mode 660.
(A couple of "dead" MAKEDEVs have been updated because they conformed the
the old permission scheme, while others have not because they didn't.)
OPENBSD_2_6
downsj 25 years ago
parent
commit
6d98281319
16 changed files with 76 additions and 42 deletions
  1. +3
    -2
      src/etc/etc.alpha/MAKEDEV
  2. +7
    -4
      src/etc/etc.amiga/MAKEDEV
  3. +3
    -2
      src/etc/etc.arc/MAKEDEV
  4. +3
    -2
      src/etc/etc.arm32/MAKEDEV
  5. +4
    -2
      src/etc/etc.atari/MAKEDEV
  6. +7
    -1
      src/etc/etc.hp300/MAKEDEV
  7. +5
    -3
      src/etc/etc.i386/MAKEDEV
  8. +3
    -2
      src/etc/etc.mac68k/MAKEDEV
  9. +8
    -5
      src/etc/etc.mvme68k/MAKEDEV
  10. +3
    -2
      src/etc/etc.pc532/MAKEDEV
  11. +5
    -1
      src/etc/etc.pmax/MAKEDEV
  12. +5
    -3
      src/etc/etc.powerpc/MAKEDEV
  13. +9
    -5
      src/etc/etc.sparc/MAKEDEV
  14. +3
    -2
      src/etc/etc.wgrisc/MAKEDEV
  15. +6
    -4
      src/etc/etc.x68k/MAKEDEV
  16. +2
    -2
      src/etc/mtree/4.4BSD.dist

+ 3
- 2
src/etc/etc.alpha/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.43 1999/07/30 18:49:35 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.44 1999/08/20 17:00:33 downsj Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ # $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -319,7 +319,8 @@ ttyB*|ttyC*|ttyc*)
rm -f tty$type$unit cua$type$unit rm -f tty$type$unit cua$type$unit
mknod tty$type$unit c $major $minor mknod tty$type$unit c $major $minor
mknod cua$type$unit c $major `add $minor 128` mknod cua$type$unit c $major `add $minor 128`
chown uucp.wheel tty$type$unit cua$type$unit
chown uucp.dialer tty$type$unit cua$type$unit
chmod 660 tty$type$unit cua$type$unit
;; ;;
pty*) pty*)


+ 7
- 4
src/etc/etc.amiga/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.42 1999/07/30 18:49:35 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.43 1999/08/20 17:00:33 downsj Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -406,7 +406,8 @@ tty0*|ttyA*)
rm -f tty0${unit} cua0${unit} rm -f tty0${unit} cua0${unit}
mknod tty0${unit} c 12 0 mknod tty0${unit} c 12 0
mknod cua0${unit} c 12 128 mknod cua0${unit} c 12 128
chown uucp.wheel tty0${unit} cua0${unit}
chown uucp.dialer tty0${unit} cua0${unit}
chmod 660 tty0${unit} cua0${unit}
;; ;;
*) *)
echo bad unit for tty0 in: $i echo bad unit for tty0 in: $i
@ -418,7 +419,8 @@ tty0*|ttyA*)
rm -f ttyA${unit} ttyM${unit} rm -f ttyA${unit} ttyM${unit}
mknod ttyA${unit} c 17 $unit mknod ttyA${unit} c 17 $unit
mknod ttyM${unit} c 17 `expr 128 + $unit` mknod ttyM${unit} c 17 `expr 128 + $unit`
chown uucp.wheel ttyA${unit} ttyM${unit}
chown uucp.dialer ttyA${unit} ttyM${unit}
chmod 660 ttyA${unit} ttyM${unit}
;; ;;
*) *)
echo bad unit for ttyA in: $i echo bad unit for ttyA in: $i
@ -568,7 +570,8 @@ ttyB*)
rm -f ttyB$unit cuaB$unit rm -f ttyB$unit cuaB$unit
mknod ttyB$unit c 32 $unit mknod ttyB$unit c 32 $unit
mknod cuaB$unit c 32 `expr $unit + 128` mknod cuaB$unit c 32 `expr $unit + 128`
chown uucp.wheel ttyB$unit cuaB$unit
chown uucp.dialer ttyB$unit cuaB$unit
chmod 660 ttyB$unit cuaB$unit
;; ;;
lpt*|lpa*) lpt*|lpa*)


+ 3
- 2
src/etc/etc.arc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.31 1999/07/30 18:49:36 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.32 1999/08/20 17:00:34 downsj Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -398,7 +398,8 @@ tty*)
rm -f tty$unit cua$unit rm -f tty$unit cua$unit
mknod tty$unit c 17 $unit mknod tty$unit c 17 $unit
mknod cua$unit c 17 `expr $unit + 128` mknod cua$unit c 17 `expr $unit + 128`
chown uucp.wheel tty$unit cua$unit
chown uucp.dialer tty$unit cua$unit
chmod 660 tty$unit cua$unit
;; ;;
pty*) pty*)


+ 3
- 2
src/etc/etc.arm32/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.15 1998/11/25 04:58:53 millert Exp $
# $OpenBSD: MAKEDEV,v 1.16 1999/08/20 17:00:35 downsj Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $ # $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -214,7 +214,8 @@ com*|tty*) # (XXX -- com should die)
unit=`expr $i : '...\(.*\)'` unit=`expr $i : '...\(.*\)'`
rm -f com$unit tty0$unit rm -f com$unit tty0$unit
mknod tty0$unit c 12 $unit mknod tty0$unit c 12 $unit
chown uucp.wheel tty0$unit
chown uucp.dialer tty0$unit
chmod 660 tty0$unit
;; ;;
pty*) pty*)


+ 4
- 2
src/etc/etc.atari/MAKEDEV View File

@ -136,13 +136,15 @@ fd)
ser02) ser02)
rm -f ser02 rm -f ser02
mknod ser02 c 7 0 mknod ser02 c 7 0
chown uucp.wheel ser02
chown uucp.dialer ser02
chmod 660 ser02
;; ;;
mdm02) mdm02)
rm -f mdm02 rm -f mdm02
mknod mdm02 c 7 16 mknod mdm02 c 7 16
chown uucp.wheel mdm02
chown uucp.dialer mdm02
chmod 660 mdm02
;; ;;
st*) st*)


+ 7
- 1
src/etc/etc.hp300/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.29 1998/11/19 08:18:56 dugsong Exp $
# $OpenBSD: MAKEDEV,v 1.30 1999/08/20 17:00:35 downsj Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ # $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -320,6 +320,8 @@ dca*)
rm -f tty${unit} cua${unit} rm -f tty${unit} cua${unit}
mknod tty${unit} c 12 ${unit} mknod tty${unit} c 12 ${unit}
mknod cua${unit} c 12 `expr ${unit} + 128` mknod cua${unit} c 12 `expr ${unit} + 128`
chown uucp.dialer tty${unit} cua${unit}
chmod 660 tty${unit} cua${unit}
;; ;;
*) *)
echo bad unit for dca in: $i echo bad unit for dca in: $i
@ -341,6 +343,8 @@ dcm*)
rm -f {tty0,cua0}${ext} rm -f {tty0,cua0}${ext}
mknod tty0${ext} c 15 ${n} mknod tty0${ext} c 15 ${n}
mknod cua0${ext} c 15 "$(( $n + 128 ))" mknod cua0${ext} c 15 "$(( $n + 128 ))"
chown uucp.dialer tty0${ext} cua0${ext}
chmod 660 tty0${ext} cua0${ext}
i="$(( $i + 1 ))" i="$(( $i + 1 ))"
done done
@ -360,6 +364,8 @@ apci*)
rm -f ttya${i} cuaa${i} rm -f ttya${i} cuaa${i}
mknod ttya${i} c 35 ${i} mknod ttya${i} c 35 ${i}
mknod cuaa${i} c 35 `expr ${i} + 128` mknod cuaa${i} c 35 `expr ${i} + 128`
chown uucp.dialer ttya${i} cuaa${i}
chmod 660 ttya${i} cuaa${i}
done done
;; ;;
*) *)


+ 5
- 3
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.72 1999/08/13 05:39:24 fgsch Exp $
# $OpenBSD: MAKEDEV,v 1.73 1999/08/20 17:00:36 downsj Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -217,7 +217,8 @@ ttyc*)
rm -f ttyc$unit cuac$unit rm -f ttyc$unit cuac$unit
mknod ttyc$unit c 38 $unit mknod ttyc$unit c 38 $unit
mknod cuac$unit c 38 `expr $unit + 128` mknod cuac$unit c 38 `expr $unit + 128`
chown uucp.wheel ttyc$unit cuac$unit
chown uucp.dialer ttyc$unit cuac$unit
chmod 660 ttyc$unit cuac$unit
;; ;;
fd) fd)
@ -419,7 +420,8 @@ tty0*)
rm -f com0$unit tty0$unit cua0$unit rm -f com0$unit tty0$unit cua0$unit
mknod tty0$unit c 8 $unit mknod tty0$unit c 8 $unit
mknod cua0$unit c 8 `expr $unit + 128` mknod cua0$unit c 8 `expr $unit + 128`
chown uucp.wheel tty0$unit cua0$unit
chown uucp.dialer tty0$unit cua0$unit
chmod 660 tty0$unit cua0$unit
;; ;;
pty*) pty*)


+ 3
- 2
src/etc/etc.mac68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.29 1999/05/01 06:28:47 downsj Exp $
# $OpenBSD: MAKEDEV,v 1.30 1999/08/20 17:00:36 downsj 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.
@ -255,7 +255,8 @@ tty0*)
case ${unit} in case ${unit} in
0|1) 0|1)
mknod tty0${unit} c 12 ${unit} mknod tty0${unit} c 12 ${unit}
chown uucp.wheel tty0${unit}
chown uucp.dialer tty0${unit}
chmod 660 tty0${unit}
;; ;;
*) *)
echo bad unit for serial tty in: $i echo bad unit for serial tty in: $i


+ 8
- 5
src/etc/etc.mvme68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.27 1998/11/25 04:58:54 millert Exp $
# $OpenBSD: MAKEDEV,v 1.28 1999/08/20 17:00:36 downsj 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.
@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# $OpenBSD: MAKEDEV,v 1.27 1998/11/25 04:58:54 millert Exp $
# $OpenBSD: MAKEDEV,v 1.28 1999/08/20 17:00:36 downsj Exp $
# #
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
# all makes all known devices, including local devices, # all makes all known devices, including local devices,
@ -306,7 +306,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd)
rm -f tty0${unit} cua0${unit} rm -f tty0${unit} cua0${unit}
mknod tty0${unit} c 13 ${unit} mknod tty0${unit} c 13 ${unit}
mknod cua0${unit} c 13 `expr 128 + ${unit}` mknod cua0${unit} c 13 `expr 128 + ${unit}`
chown uucp.wheel tty0${unit} cua0${unit}
chown uucp.dialer tty0${unit} cua0${unit}
chmod 660 tty0${unit} cua0${unit}
;; ;;
*) *)
echo bad unit for tty0 in: $i echo bad unit for tty0 in: $i
@ -320,7 +321,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd)
rm -f ttyw${unit} cuaw${unit} rm -f ttyw${unit} cuaw${unit}
mknod ttyw${unit} c 30 ${unit} mknod ttyw${unit} c 30 ${unit}
mknod cuaw${unit} c 30 `expr 128 + ${unit}` mknod cuaw${unit} c 30 `expr 128 + ${unit}`
chown uucp.wheel ttyw${unit} cuaw${unit}
chown uucp.dialer ttyw${unit} cuaw${unit}
chmod 660 ttyw${unit} cuaw${unit}
;; ;;
*) *)
echo bad unit for ttyw in: $i echo bad unit for ttyw in: $i
@ -333,7 +335,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd)
rm -f tty${unit} cua${unit} rm -f tty${unit} cua${unit}
mknod tty${unit} c 12 ${num} mknod tty${unit} c 12 ${num}
mknod cua${unit} c 12 `expr 128 + ${num}` mknod cua${unit} c 12 `expr 128 + ${num}`
chown uucp.wheel tty${unit} cua${unit}
chown uucp.dialer tty${unit} cua${unit}
chmod 660 tty${unit} cua${unit}
;; ;;
*) *)
echo bad type for tty in: $i echo bad type for tty in: $i


+ 3
- 2
src/etc/etc.pc532/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.16 1998/11/25 04:58:54 millert Exp $
# $OpenBSD: MAKEDEV,v 1.17 1999/08/20 17:00:36 downsj 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.
@ -176,7 +176,8 @@ vnd*)
tty*) tty*)
unit=`expr $i : '...\(.*\)'` unit=`expr $i : '...\(.*\)'`
mknod tty0$unit c 8 $unit mknod tty0$unit c 8 $unit
chown uucp.wheel tty0$unit
chown uucp.dialer tty0$unit
chmod 660 tty0$unit
;; ;;
pty*) pty*)


+ 5
- 1
src/etc/etc.pmax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.30 1998/11/25 04:58:54 millert Exp $
# $OpenBSD: MAKEDEV,v 1.31 1999/08/20 17:00:37 downsj Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -314,6 +314,8 @@ dc*)
0) 0)
mknod tty00 c 16 2 mknod tty00 c 16 2
mknod tty01 c 16 3 mknod tty01 c 16 3
chown uucp.dialer tty00 tty01
chmod 660 tty00 tty01
;; ;;
*) *)
echo bad unit for dc in: $i echo bad unit for dc in: $i
@ -327,6 +329,8 @@ scc*)
0) 0)
mknod tty00 c 17 0 mknod tty00 c 17 0
mknod tty01 c 17 2 mknod tty01 c 17 2
chown uucp.dialer tty00 tty01
chmod 660 tty00 tty01
;; ;;
*) *)
echo bad unit for scc in: $i echo bad unit for scc in: $i


+ 5
- 3
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.26 1998/11/25 04:58:55 millert Exp $
# $OpenBSD: MAKEDEV,v 1.27 1999/08/20 17:00:37 downsj 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.
@ -290,7 +290,8 @@ ttyo*)
case ${unit} in case ${unit} in
0|1) 0|1)
mknod ttyo${unit} c 14 ${unit} mknod ttyo${unit} c 14 ${unit}
chown uucp.wheel ttyo${unit}
chown uucp.dialer ttyo${unit}
chmod 660 ttyo${unit}
;; ;;
*) *)
echo bad unit for serial tty in: $i echo bad unit for serial tty in: $i
@ -302,7 +303,8 @@ tty0*)
rm -f tty0$unit cua0$unit rm -f tty0$unit cua0$unit
mknod tty0$unit c 7 $unit mknod tty0$unit c 7 $unit
mknod cua0$unit c 7 `expr $unit + 128` mknod cua0$unit c 7 `expr $unit + 128`
chown uucp.wheel tty0$unit cua0$unit
chown uucp.dialer tty0$unit cua0$unit
chmod 660 tty0$unit cua0$unit
;; ;;
pty*) pty*)


+ 9
- 5
src/etc/etc.sparc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.58 1999/07/18 17:07:48 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.59 1999/08/20 17:00:37 downsj 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.
@ -557,7 +557,8 @@ 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
chown uucp.dialer tty$unit
chmod 660 tty$unit
;; ;;
cua[a-z]) cua[a-z])
@ -571,7 +572,8 @@ cua[a-z])
*) echo unknown cua device $i ;; *) echo unknown cua device $i ;;
esac esac
mknod cua$unit c 12 `add $n 128` mknod cua$unit c 12 `add $n 128`
chown uucp.wheel cua$unit
chown uucp.dialer cua$unit
chmod 660 cua$unit
;; ;;
pty*) pty*)
@ -625,7 +627,8 @@ spif*)
do do
name=$nam`hex $n` name=$nam`hex $n`
mknod tty$name c 102 `add $offset $n` mknod tty$name c 102 `add $offset $n`
chown uucp.wheel tty$name
chown uucp.dialer tty$name
chmod 660 tty$name
n=`add $n 1` n=`add $n 1`
done done
mknod bpps${unit}0 c 103 `add $offset 0` mknod bpps${unit}0 c 103 `add $offset 0`
@ -645,7 +648,8 @@ magma*)
do do
name=$nam`hex $n` name=$nam`hex $n`
mknod tty$name c 100 `add $offset $n` mknod tty$name c 100 `add $offset $n`
chown uucp.wheel tty$name
chown uucp.dialer tty$name
chmod 660 tty$name
n=`add $n 1` n=`add $n 1`
done done
mknod bppm${unit}0 c 101 `add $offset 0` mknod bppm${unit}0 c 101 `add $offset 0`


+ 3
- 2
src/etc/etc.wgrisc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.8 1998/11/25 04:58:55 millert Exp $
# $OpenBSD: MAKEDEV,v 1.9 1999/08/20 17:00:37 downsj Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -216,7 +216,8 @@ tty*)
rm -f tty$unit cua$unit rm -f tty$unit cua$unit
mknod tty$unit c 17 $unit mknod tty$unit c 17 $unit
mknod cua$unit c 17 `expr $unit + 128` mknod cua$unit c 17 `expr $unit + 128`
chown uucp.wheel tty$unit cua$unit
chown uucp.dialer tty$unit cua$unit
chmod 660 tty$unit cua$unit
;; ;;
pty*) pty*)


+ 6
- 4
src/etc/etc.x68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.12 1998/11/25 04:58:55 millert Exp $
# $OpenBSD: MAKEDEV,v 1.13 1999/08/20 17:00:38 downsj Exp $
# $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $ # $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -34,7 +34,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# $Id: MAKEDEV,v 1.12 1998/11/25 04:58:55 millert Exp $
# $Id: MAKEDEV,v 1.13 1999/08/20 17:00:38 downsj Exp $
# #
# from: # from:
# hp300/MAKEDEV (1/15/94), from: # hp300/MAKEDEV (1/15/94), from:
@ -310,7 +310,8 @@ tty0*)
rm -f tty0${unit} ttym${unit} rm -f tty0${unit} ttym${unit}
mknod tty0${unit} c 12 $unit mknod tty0${unit} c 12 $unit
mknod ttym${unit} c 12 `expr 128 + $unit` mknod ttym${unit} c 12 `expr 128 + $unit`
chown uucp.wheel tty0${unit} ttym${unit}
chown uucp.dialer tty0${unit} ttym${unit}
chmod 660 tty0${unit} ttym${unit}
;; ;;
*) *)
echo bad unit for ser in: $i echo bad unit for ser in: $i
@ -326,7 +327,8 @@ com*)
0|1) 0|1)
rm -f com${unit} rm -f com${unit}
mknod com${unit} c 16 $unit mknod com${unit} c 16 $unit
chown uucp.wheel com${unit}
chown uucp.dialer com${unit}
chmod 660 com${unit}
;; ;;
*) *)
echo bad unit for com in: $i echo bad unit for com in: $i


+ 2
- 2
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.78 1999/08/02 19:50:09 jakob Exp $
# $OpenBSD: 4.4BSD.dist,v 1.79 1999/08/20 17:00:38 downsj Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
# . # .
@ -1790,7 +1790,7 @@ hidden mode=0111
.. ..
# ./var/spool/lock # ./var/spool/lock
lock uname=uucp gname=daemon
lock uname=uucp gname=dialer mode=1775
# ./var/spool/lock # ./var/spool/lock
.. ..


Loading…
Cancel
Save