[PC-BSD Commits] r18427 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Aug 13 09:41:26 PDT 2012


Author: kris
Date: 2012-08-13 16:41:26 +0000 (Mon, 13 Aug 2012)
New Revision: 18427

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Make sure we source /etc/profile before starting pbid, this ensures we get
any HTTP_ / FTP_ PROXY variables set



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-13 16:31:44 UTC (rev 18426)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-13 16:41:26 UTC (rev 18427)
@@ -4444,6 +4444,10 @@
 # Start the PBID daemon
 do_pbid() {
 
+	# Start by sourcing /etc/profile
+	# This grabs any HTTP_ / FTP_ PROXY variables
+	. /etc/profile
+
 	# Allow user supplied logfile
         if [ -z "${PBID_LOGFILE}" ] ; then
 	  _pbid_log="/var/log/pbid.log"



More information about the Commits mailing list