[Fai-commit] r3214 - in trunk/examples/simple/files/etc: . rc2.d rc2.d/S90fai-setup

fai-repository at svn.debian.org fai-repository at svn.debian.org
Mon Jan 9 15:54:10 UTC 2006


Author: lange
Date: 2006-01-09 15:54:09 +0000 (Mon, 09 Jan 2006)
New Revision: 3214

Added:
   trunk/examples/simple/files/etc/rc2.d/
   trunk/examples/simple/files/etc/rc2.d/S90fai-setup/
   trunk/examples/simple/files/etc/rc2.d/S90fai-setup/FAISERVER
Log:
script will be executed once during first boot


Added: trunk/examples/simple/files/etc/rc2.d/S90fai-setup/FAISERVER
===================================================================
--- trunk/examples/simple/files/etc/rc2.d/S90fai-setup/FAISERVER	2006-01-08 17:11:56 UTC (rev 3213)
+++ trunk/examples/simple/files/etc/rc2.d/S90fai-setup/FAISERVER	2006-01-09 15:54:09 UTC (rev 3214)
@@ -0,0 +1,16 @@
+#! /bin/bash
+
+# setup script that is only run once at boot time
+
+echo "Creating the nfsroot for FAI."
+
+. /etc/fai/fai.conf
+
+[ -d "$FAI_CONFIGDIR/class" ] || cp -a /usr/share/doc/fai-doc/examples/simple/* $FAI_CONFIGDIR
+
+fai-setup 2>&1 | tee /var/log/fai-setup.log
+
+echo "Log files will be saved to /var/log/fai-setup.log"
+
+# remove me
+rm $0


Property changes on: trunk/examples/simple/files/etc/rc2.d/S90fai-setup/FAISERVER
___________________________________________________________________
Name: svn:executable
   + *




More information about the Fai-commit mailing list