From 463de9c0b4a59cbd41416d51747dc17034a9a3e1 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 21 May 2002 01:41:04 +0000 Subject: [PATCH] remove MAKEDEV.local finally --- src/etc/MAKEDEV.local | 51 ---------------------------------- src/etc/Makefile | 4 +-- src/etc/etc.mvmeppc/MAKEDEV.md | 8 +----- 3 files changed, 2 insertions(+), 61 deletions(-) delete mode 100644 src/etc/MAKEDEV.local diff --git a/src/etc/MAKEDEV.local b/src/etc/MAKEDEV.local deleted file mode 100644 index 26f5b048..00000000 --- a/src/etc/MAKEDEV.local +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -# -# $OpenBSD: MAKEDEV.local,v 1.3 1999/11/25 20:10:57 ian Exp $ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by the University of -# California, Berkeley and its contributors. -# 4. Neither the name of the University nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# @(#)MAKEDEV.local 5.1 (Berkeley) 3/22/91 -# - -# Local device MAKEDEV script. - -PATH=/sbin:/usr/sbin:/bin:/usr/bin -umask 77 -for i -do -case $i in - -*) - echo 'MAKEDEV.local: no such device.' - ;; -esac -done diff --git a/src/etc/Makefile b/src/etc/Makefile index 53280aa8..1403a542 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.162 2002/05/16 15:00:48 millert Exp $ +# $OpenBSD: Makefile,v 1.163 2002/05/21 01:41:04 deraadt Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific @@ -76,8 +76,6 @@ distribution-etc-root-var: distrib-dirs ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd ${INSTALL} -c -o root -g wheel -m 644 moduli ${DESTDIR}/etc - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ - MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev cd root; \ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ diff --git a/src/etc/etc.mvmeppc/MAKEDEV.md b/src/etc/etc.mvmeppc/MAKEDEV.md index 3619e240..8b769d2e 100644 --- a/src/etc/etc.mvmeppc/MAKEDEV.md +++ b/src/etc/etc.mvmeppc/MAKEDEV.md @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV.md,v 1.4 2002/05/16 21:11:21 miod Exp $ +# $OpenBSD: MAKEDEV.md,v 1.5 2002/05/21 01:41:04 deraadt Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -28,7 +28,6 @@ _TITLE(make) _DEV(all) _DEV(std) _DEV(fdesc, 21) -_DEV(local) _DEV(ramd) _TITLE(tap) _DEV(st, 20, 5) @@ -511,11 +510,6 @@ altq) done ;; -local) - umask 0 - test -s MAKEDEV.local && sh $this.local - ;; - *) echo $i: unknown device esac