[PC-BSD Commits] r18113 - pcbsd/current/src-sh/pbi-manager/rc.d

svn at pcbsd.org svn at pcbsd.org
Thu Aug 2 09:23:16 PDT 2012


Author: kris
Date: 2012-08-02 16:23:16 +0000 (Thu, 02 Aug 2012)
New Revision: 18113

Modified:
   pcbsd/current/src-sh/pbi-manager/rc.d/pbid
Log:

When starting pbid, source /etc/profile first, so we grab HTTP_PROXY



Modified: pcbsd/current/src-sh/pbi-manager/rc.d/pbid
===================================================================
--- pcbsd/current/src-sh/pbi-manager/rc.d/pbid	2012-08-02 15:55:45 UTC (rev 18112)
+++ pcbsd/current/src-sh/pbi-manager/rc.d/pbid	2012-08-02 16:23:16 UTC (rev 18113)
@@ -30,6 +30,8 @@
 
     	echo "Starting ${name}..."
 
+	# Source /etc/profile - in case user is using HTTP_PROXY
+	. /etc/profile >/dev/null 2>/dev/null
 	(nice $command) &
 	echo "$!" > ${pidfile}
 }



More information about the Commits mailing list