summaryrefslogtreecommitdiff
path: root/pkgtools/rc.subr
diff options
context:
space:
mode:
authorgrant <grant>2003-07-06 20:40:34 +0000
committergrant <grant>2003-07-06 20:40:34 +0000
commit78298ce633a7dae3afdb5117815526f4349ffff4 (patch)
treea27703e5645b9cee864dde87faacbf0b1f2a59be /pkgtools/rc.subr
parentf77a516fd563eb06c6d89eee0891264f7e7abe27 (diff)
downloadpkgsrc-78298ce633a7dae3afdb5117815526f4349ffff4.tar.gz
update to 20030706. sync with -current:
---------------------------- revision 1.59 date: 2003/07/04 14:14:10; author: lukem; state: Exp; lines: +1 -7 Revert previous; the "return" if rc.subr had already loaded had issues in some circumstances where run_rc_script()'s sourcing of an rc.d file which then sourced rc.subr, the `optimisation' in rc.subr to "return as we're already loaded" would finish more than just the inner-most sourcing. I haven't tracked down the exact issue, but removing the `optimisation' fixes the problem I noticed in starting up certain rc.d scripts, and may fix [bin/22053] as well.
Diffstat (limited to 'pkgtools/rc.subr')
-rw-r--r--pkgtools/rc.subr/Makefile4
-rw-r--r--pkgtools/rc.subr/files/rc.subr8
2 files changed, 3 insertions, 9 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile
index 4cee53789d9..446d0030a70 100644
--- a/pkgtools/rc.subr/Makefile
+++ b/pkgtools/rc.subr/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2003/06/28 07:15:27 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/07/06 20:40:35 grant Exp $
#
-DISTNAME= rc.subr-20030627
+DISTNAME= rc.subr-20030706
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr
index a8b496474ab..6dc5038fcaf 100644
--- a/pkgtools/rc.subr/files/rc.subr
+++ b/pkgtools/rc.subr/files/rc.subr
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.3 2003/06/28 07:15:28 grant Exp $
+# $NetBSD: rc.subr,v 1.4 2003/07/06 20:40:34 grant Exp $
#
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,12 +38,6 @@
# functions used by various rc scripts
#
-if ${_rc_subr_loaded:-false}; then
- return
-else
- _rc_subr_loaded=true
-fi
-
# global variables
# ----------------