Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc - in local), only run $0.local if it is an existing file
details: https://anonhg.NetBSD.org/src/rev/1e104d640a74
branches: trunk
changeset: 535044:1e104d640a74
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Aug 09 02:39:15 2002 +0000
description:
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
diffstat:
etc/etc.acorn26/MAKEDEV | 10 ++++++----
etc/etc.acorn32/MAKEDEV | 10 ++++++----
etc/etc.algor/MAKEDEV | 10 ++++++----
etc/etc.alpha/MAKEDEV | 10 ++++++----
etc/etc.amiga/MAKEDEV | 10 ++++++----
etc/etc.arc/MAKEDEV | 10 ++++++----
etc/etc.atari/MAKEDEV | 10 ++++++----
etc/etc.bebox/MAKEDEV | 10 ++++++----
etc/etc.cats/MAKEDEV | 10 ++++++----
etc/etc.cesfic/MAKEDEV | 10 ++++++----
etc/etc.cobalt/MAKEDEV | 10 ++++++----
etc/etc.dreamcast/MAKEDEV | 10 ++++++----
etc/etc.evbarm/MAKEDEV | 10 ++++++----
etc/etc.evbmips/MAKEDEV | 10 ++++++----
etc/etc.evbsh3/MAKEDEV | 10 ++++++----
etc/etc.evbsh5/MAKEDEV | 10 ++++++----
etc/etc.hp300/MAKEDEV | 10 ++++++----
etc/etc.hp700/MAKEDEV | 10 ++++++----
etc/etc.hpcarm/MAKEDEV | 10 ++++++----
etc/etc.hpcmips/MAKEDEV | 10 ++++++----
etc/etc.hpcsh/MAKEDEV | 10 ++++++----
etc/etc.i386/MAKEDEV | 10 ++++++----
etc/etc.luna68k/MAKEDEV | 10 ++++++----
etc/etc.mac68k/MAKEDEV | 10 ++++++----
etc/etc.macppc/MAKEDEV | 10 ++++++----
etc/etc.mipsco/MAKEDEV | 9 ++++++---
etc/etc.mmeye/MAKEDEV | 10 ++++++----
etc/etc.mvme68k/MAKEDEV | 10 ++++++----
etc/etc.mvmeppc/MAKEDEV | 10 ++++++----
etc/etc.netwinder/MAKEDEV | 10 ++++++----
etc/etc.news68k/MAKEDEV | 9 ++++++---
etc/etc.newsmips/MAKEDEV | 9 ++++++---
etc/etc.next68k/MAKEDEV | 10 ++++++----
etc/etc.pc532/MAKEDEV | 10 ++++++----
etc/etc.playstation2/MAKEDEV | 11 ++++++++++-
etc/etc.pmax/MAKEDEV | 10 ++++++----
etc/etc.pmppc/MAKEDEV | 10 ++++++----
etc/etc.prep/MAKEDEV | 10 ++++++----
etc/etc.sandpoint/MAKEDEV | 10 ++++++----
etc/etc.sbmips/MAKEDEV | 10 ++++++----
etc/etc.sgimips/MAKEDEV | 10 ++++++----
etc/etc.shark/MAKEDEV | 10 ++++++----
etc/etc.sparc/MAKEDEV | 10 ++++++----
etc/etc.sparc64/MAKEDEV | 10 ++++++----
etc/etc.sun2/MAKEDEV | 10 ++++++----
etc/etc.sun3/MAKEDEV | 10 ++++++----
etc/etc.vax/MAKEDEV | 10 ++++++----
etc/etc.walnut/MAKEDEV | 10 ++++++----
etc/etc.x68k/MAKEDEV | 10 ++++++----
etc/etc.x86_64/MAKEDEV | 10 ++++++----
50 files changed, 304 insertions(+), 194 deletions(-)
diffs (truncated from 1298 to 300 lines):
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.acorn26/MAKEDEV
--- a/etc/etc.acorn26/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.acorn26/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.4 2002/06/18 13:40:14 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.5 2002/08/09 02:39:15 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -382,9 +382,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
echo $i: unknown device
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.acorn32/MAKEDEV
--- a/etc/etc.acorn32/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.acorn32/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.18 2002/06/19 15:00:03 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.19 2002/08/09 02:39:15 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -695,9 +695,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.algor/MAKEDEV
--- a/etc/etc.algor/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.algor/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.4 2002/06/19 15:00:04 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.5 2002/08/09 02:39:16 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -718,9 +718,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.alpha/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.100 2002/06/28 23:36:10 thorpej Exp $
+# $NetBSD: MAKEDEV,v 1.101 2002/08/09 02:39:16 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -775,9 +775,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.amiga/MAKEDEV
--- a/etc/etc.amiga/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.amiga/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.77 2002/06/18 13:40:16 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.78 2002/08/09 02:39:17 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -664,9 +664,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.arc/MAKEDEV
--- a/etc/etc.arc/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.arc/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.22 2002/06/18 13:40:16 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.23 2002/08/09 02:39:17 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -507,9 +507,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.atari/MAKEDEV
--- a/etc/etc.atari/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.atari/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.58 2002/06/18 13:40:17 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.59 2002/08/09 02:39:17 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -631,9 +631,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.bebox/MAKEDEV
--- a/etc/etc.bebox/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.bebox/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.33 2002/06/18 13:40:17 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.34 2002/08/09 02:39:18 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -610,9 +610,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.cats/MAKEDEV
--- a/etc/etc.cats/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.cats/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.15 2002/07/30 20:50:10 chris Exp $
+# $NetBSD: MAKEDEV,v 1.16 2002/08/09 02:39:18 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -703,9 +703,11 @@
chmod 644 systrace
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.cesfic/MAKEDEV
--- a/etc/etc.cesfic/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.cesfic/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.2 2002/06/18 13:54:26 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.3 2002/08/09 02:39:19 lukem Exp $
#
###########################################################################
#
@@ -157,9 +157,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.cobalt/MAKEDEV
--- a/etc/etc.cobalt/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.cobalt/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.19 2002/06/18 13:40:17 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.20 2002/08/09 02:39:19 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -419,9 +419,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 940d43bef6e7 -r 1e104d640a74 etc/etc.dreamcast/MAKEDEV
--- a/etc/etc.dreamcast/MAKEDEV Fri Aug 09 02:17:26 2002 +0000
+++ b/etc/etc.dreamcast/MAKEDEV Fri Aug 09 02:39:15 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.24 2002/07/18 15:07:48 tsutsui Exp $
+# $NetBSD: MAKEDEV,v 1.25 2002/08/09 02:39:19 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -440,9 +440,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
Home |
Main Index |
Thread Index |
Old Index