Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc add /rescue to the PATH to find chown if /usr is not ava...
details: https://anonhg.NetBSD.org/src/rev/54b15d71207e
branches: trunk
changeset: 556410:54b15d71207e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Dec 15 08:57:52 2003 +0000
description:
add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here
fixes PR kern/23614 by Christian Biere
diffstat:
etc/MAKEDEV.local | 5 +++--
etc/MAKEDEV.tmpl | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 614fa4a5919f -r 54b15d71207e etc/MAKEDEV.local
--- a/etc/MAKEDEV.local Mon Dec 15 08:38:01 2003 +0000
+++ b/etc/MAKEDEV.local Mon Dec 15 08:57:52 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV.local,v 1.5 1997/07/31 04:08:15 perry Exp $
+# $NetBSD: MAKEDEV.local,v 1.6 2003/12/15 08:57:52 jdolecek Exp $
#
# Copyright (c) 1991 The Regents of the University of California.
# All rights reserved.
@@ -38,8 +38,9 @@
# Local device MAKEDEV script.
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/rescue
umask 77
+
for i
do
case $i in
diff -r 614fa4a5919f -r 54b15d71207e etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Mon Dec 15 08:38:01 2003 +0000
+++ b/etc/MAKEDEV.tmpl Mon Dec 15 08:57:52 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.11 2003/12/10 11:40:11 hannken Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.12 2003/12/15 08:57:52 jdolecek Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -278,7 +278,7 @@
callunit=262144
# Keep /usr/etc so SunOS can find chown
-PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/etc
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/rescue:/usr/etc
# only allow read&write for owner by default
umask 077
Home |
Main Index |
Thread Index |
Old Index