[Fai-commit] r5013 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Sat Aug 9 10:42:27 UTC 2008


Author: lange
Date: 2008-08-09 10:42:27 +0000 (Sat, 09 Aug 2008)
New Revision: 5013

Modified:
   trunk/bin/fai-do-scripts
Log:
add -b to call of file command


Modified: trunk/bin/fai-do-scripts
===================================================================
--- trunk/bin/fai-do-scripts	2008-08-09 10:24:14 UTC (rev 5012)
+++ trunk/bin/fai-do-scripts	2008-08-09 10:42:27 UTC (rev 5013)
@@ -5,7 +5,7 @@
 # fai-do-scripts - call configuration scripts for every defined class
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2003-2007 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2003-2008 by Thomas Lange, lange at informatik.uni-koeln.de
 # Universitaet zu Koeln
 #
 #*********************************************************************
@@ -26,7 +26,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 #*********************************************************************
 
-version="version 1.6, 11-sep-2007"
+version="version 1.6.1, 9-aug-2008"
 
 # variables needed: $classes, $cfclasses, $LOGDIR
 # 
@@ -95,7 +95,7 @@
 	S[0-9][0-9]*) echo -e "WARNING: The script $name does not match [0-9][0-9]*.\nIt's not executed. Please rename it."; return ;;
     esac
 
-    filetype=$(file $file)
+    filetype=$(file -b $file)
 
     if [ "$fake" ]; then
 	echo "Executing $filetype"




More information about the Fai-commit mailing list