[PC-BSD Commits] r2472 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Jul 29 06:17:38 PDT 2008


Author: kris
Date: 2008-07-29 06:17:38 -0700 (Tue, 29 Jul 2008)
New Revision: 2472

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ServerSetup.sh
Log:

Added the Warden PBI variables to our config



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config	2008-07-29 13:15:33 UTC (rev 2471)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config	2008-07-29 13:17:38 UTC (rev 2472)
@@ -39,6 +39,7 @@
 OPERAPBI="Opera9.51-PV0.pbi"
 OPENOFFICEPBI="OpenOffice-EN2.4.1-PV0.pbi"
 WINEPBI="Wine1.1.1-PV0.pbi"
+WARDENPBI="TheWarden0.9-PV0.pbi"
 
 
 

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ServerSetup.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ServerSetup.sh	2008-07-29 13:15:33 UTC (rev 2471)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ServerSetup.sh	2008-07-29 13:17:38 UTC (rev 2472)
@@ -20,8 +20,16 @@
 # Load the Warden from CD2 here
 DISPLAY=""; export DISPLAY
 mkdir -p ${FSMNT}/tmp/components
-cp ${CDMNT}/PBI/TheWarden* ${FSMNT}/tmp/components/
 
+# If we are on a network connection
+if [ -e "/tmp/networkURL" ]
+then
+  cd ${FSMNT}/tmp/components
+  ${FETCHCMD} ${NETPATH}/PBI/${WARDENPBI}
+else
+  cp ${CDMNT}/PBI/${WARDENPBI} ${FSMNT}/tmp/components/
+fi
+
 # Make our install script
 echo '#!/bin/sh
 ls /Programs/TheWarden* >/dev/null 2>/dev/null



More information about the Commits mailing list