Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib Remove bogus workaround hiding a real bug: /tmp/dhcp...



details:   https://anonhg.NetBSD.org/src/rev/2b60ad9a3bc9
branches:  trunk
changeset: 753629:2b60ad9a3bc9
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 04 22:56:44 2010 +0000

description:
Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
created by the sysinst specific dhcpcd hook

diffstat:

 distrib/i386/ramdisks/common/dot.profile     |  3 +--
 distrib/sparc64/cdroms/installcd/dot.profile |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c55c7e4156eb -r 2b60ad9a3bc9 distrib/i386/ramdisks/common/dot.profile
--- a/distrib/i386/ramdisks/common/dot.profile  Sun Apr 04 21:49:15 2010 +0000
+++ b/distrib/i386/ramdisks/common/dot.profile  Sun Apr 04 22:56:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.4 2009/09/30 00:32:08 ahoka Exp $
+#      $NetBSD: dot.profile,v 1.5 2010/04/04 22:56:44 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -61,7 +61,6 @@
        mount -t tmpfs -o union tmpfs /etc
 
        mkdir -p /var/run /var/db
-       echo > /tmp/dhcpcd-lease
 
        grep() sed -n "/$1/p"
 
diff -r c55c7e4156eb -r 2b60ad9a3bc9 distrib/sparc64/cdroms/installcd/dot.profile
--- a/distrib/sparc64/cdroms/installcd/dot.profile      Sun Apr 04 21:49:15 2010 +0000
+++ b/distrib/sparc64/cdroms/installcd/dot.profile      Sun Apr 04 22:56:44 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2010/04/02 21:58:46 martin Exp $
+# $NetBSD: dot.profile,v 1.3 2010/04/04 22:56:44 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -99,7 +99,6 @@
 
        # prepare important directories in the tmpfses, so dhcpcd will work
        mkdir -p /var/run /var/db
-       echo > /tmp/dhcpcd-lease
 
        # run the installation or upgrade script.
        sysinst || {



Home | Main Index | Thread Index | Old Index