[Fai-commit] r5104 - in trunk: doc lib

lange at alioth.debian.org lange at alioth.debian.org
Sat Sep 6 08:53:13 UTC 2008


Author: lange
Date: 2008-09-06 08:53:13 +0000 (Sat, 06 Sep 2008)
New Revision: 5104

Modified:
   trunk/doc/fai-guide.sgml
   trunk/lib/subroutines
Log:
Proper location of RUNNING_FROM_FAICD to make eject work (closes: #496072)
adjust documentation


Modified: trunk/doc/fai-guide.sgml
===================================================================
--- trunk/doc/fai-guide.sgml	2008-09-06 08:52:27 UTC (rev 5103)
+++ trunk/doc/fai-guide.sgml	2008-09-06 08:53:13 UTC (rev 5104)
@@ -1752,7 +1752,7 @@
 uname -s | tr '[:lower:]' '[:upper:]'
 dpkg --print-installation-architecture | tr /a-z/ /A-Z/
 
-[ -f /boot/RUNNING_FROM_FAICD ] && echo "FAICD"
+[ -f /etc/RUNNING_FROM_FAICD ] && echo "FAICD"
 
 # use a list of classes for our demo machine
 case $HOSTNAME in

Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2008-09-06 08:52:27 UTC (rev 5103)
+++ trunk/lib/subroutines	2008-09-06 08:53:13 UTC (rev 5104)
@@ -437,7 +437,7 @@
     sync
 
     killall -q sshd udevd
-    if [ -f /boot/RUNNING_FROM_FAICD ]; then
+    if [ -f /etc/RUNNING_FROM_FAICD ]; then
 	cat > $target/tmp/rebootCD <<'EOF'
 #! /bin/bash
  device=$1




More information about the Fai-commit mailing list