Skip to content
Permalink
Browse files

also source ${prefix}/etc/rc.conf in startup-items - if readable

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@14505 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 9, 2005
1 parent df37b56 commit d0c3aba9e52b5bea91c1a2e6bbd7574e4ee37371
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/port1.0/portstartupitem.tcl
@@ -1,7 +1,7 @@
# et:ts=4
# portstartupitem.tcl
#
# $Id: portstartupitem.tcl,v 1.19 2005/10/08 21:29:35 jberry Exp $
# $Id: portstartupitem.tcl,v 1.20 2005/10/09 15:00:43 mww Exp $
#
# Copyright (c) 2004, 2005 Markus W. Weissman <mww@opendarwin.org>,
# Copyright (c) 2005 Robert Shaw <rshaw@opendarwin.org>,
@@ -202,8 +202,11 @@ proc startupitem_create_darwin_systemstarter {args} {
# DarwinPorts generated StartupItem
#

# Source the utilities package
# Source the utilities package and the darwinports config file
. /etc/rc.common
if test -r ${prefix}/etc/rc.conf; then
. ${prefix}/etc/rc.conf
fi
}

# Emit the Configuration Section

0 comments on commit d0c3aba

Please sign in to comment.
You can’t perform that action at this time.