[PC-BSD Commits] r5078 - pcbsd/trunk/mfsroot-overlay/root
svn at pcbsd.org
svn at pcbsd.org
Wed Nov 18 17:25:39 PST 2009
Author: kris
Date: 2009-11-18 17:25:39 -0800 (Wed, 18 Nov 2009)
New Revision: 5078
Modified:
pcbsd/trunk/mfsroot-overlay/root/PCBSDStart.sh
Log:
Updated our startup mfsroot script to kickoff pc-sysinstall if the auto-install files
are present
Modified: pcbsd/trunk/mfsroot-overlay/root/PCBSDStart.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/root/PCBSDStart.sh 2009-11-19 01:05:13 UTC (rev 5077)
+++ pcbsd/trunk/mfsroot-overlay/root/PCBSDStart.sh 2009-11-19 01:25:39 UTC (rev 5078)
@@ -21,8 +21,14 @@
exit 0
fi
+# Check if we have an auto-install directive
+if [ -e "/tmp/pc-autoinstall.conf" ]
+then
+ # Start the parser on this directive and begin the install
+ /pc-sysinstall/pc-sysinstall start-autoinstall /tmp/pc-autoinstall.conf
+fi
-
+# Make sure this is only executed on the first login, in order for other ctrl-fX screens to work
if [ ! -f "/tmp/1stRun" ]
then
@@ -40,7 +46,7 @@
/usr/local/pcbsd/scripts/PCBSD.NetDetect.sh
echo "Detecting X Setup..."
-sleep 5
+sleep 2
/root/cardDetect/x_config.sh
# Check if we should be going to the console instead of X directly
More information about the Commits
mailing list