[Fai-commit] r3095 - trunk/examples/simple/class

fai-repository at svn.debian.org fai-repository at svn.debian.org
Wed Nov 23 22:49:26 UTC 2005


Author: lange
Date: 2005-11-23 22:49:26 +0000 (Wed, 23 Nov 2005)
New Revision: 3095

Modified:
   trunk/examples/simple/class/10-base-classes
   trunk/examples/simple/class/50-host-classes
Log:
use GRUB also with AMD64


Modified: trunk/examples/simple/class/10-base-classes
===================================================================
--- trunk/examples/simple/class/10-base-classes	2005-11-23 22:08:35 UTC (rev 3094)
+++ trunk/examples/simple/class/10-base-classes	2005-11-23 22:49:26 UTC (rev 3095)
@@ -2,7 +2,7 @@
 
 # echo architecture and OS name in upper case. Do NOT remove these two lines
 uname -s | tr '[:lower:]' '[:upper:]'
-[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr /a-z/ /A-Z/
+[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr a-z A-Z
 
 [ -f /boot/RUNNING_FROM_FAICD ] && echo "FAICD"
 exit 0
\ No newline at end of file

Modified: trunk/examples/simple/class/50-host-classes
===================================================================
--- trunk/examples/simple/class/50-host-classes	2005-11-23 22:08:35 UTC (rev 3094)
+++ trunk/examples/simple/class/50-host-classes	2005-11-23 22:49:26 UTC (rev 3095)
@@ -12,5 +12,5 @@
 	echo "FAIBASE DHCPC" ;;
 esac
 
-ifclass I386 && echo "GRUB"
+(ifclass I386 || ifclass AMD64) && echo GRUB 
 exit 0




More information about the Fai-commit mailing list