[Fai-commit] r5117 - trunk/lib

lange at alioth.debian.org lange at alioth.debian.org
Sat Sep 6 15:26:05 UTC 2008


Author: lange
Date: 2008-09-06 15:26:05 +0000 (Sat, 06 Sep 2008)
New Revision: 5117

Modified:
   trunk/lib/subroutines
Log:
fix path


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2008-09-06 15:16:51 UTC (rev 5116)
+++ trunk/lib/subroutines	2008-09-06 15:26:05 UTC (rev 5117)
@@ -229,7 +229,7 @@
     # source user specific subroutines
     [ -f $FAI/hooks/subroutines ] && . $FAI/hooks/subroutines
 
-    if [ -f /boot/RUNNING_FROM_FAICD ]; then
+    if [ -f /etc/RUNNING_FROM_FAICD ]; then
 	local cdrom=$(mount| awk '/dev.+on \/ /{print $1}')
 	hdparm -d $cdrom | grep -q off 2>/dev/null
 	if [ $? -eq 0 ]; then




More information about the Fai-commit mailing list