[Fai-commit] r3096 - in trunk: bin conf

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


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

Modified:
   trunk/bin/fai
   trunk/bin/faireboot
   trunk/conf/fai.conf
Log:
fix syntax of tr command


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2005-11-23 22:49:26 UTC (rev 3095)
+++ trunk/bin/fai	2005-11-23 22:49:54 UTC (rev 3096)
@@ -37,7 +37,7 @@
 fstab=fstab  # Solaris uses vfstab
 
 # the type of operating system (linux, sunos)
-oclass=$(uname -s | tr /a-z/ /A-Z/)
+oclass=$(uname -s | tr a-z A-Z)
 # $classes is now set so we can call hooks before fai-class defines the classes
 classes="DEFAULT $oclass $HOSTNAME LAST"
 faimond=0

Modified: trunk/bin/faireboot
===================================================================
--- trunk/bin/faireboot	2005-11-23 22:49:26 UTC (rev 3095)
+++ trunk/bin/faireboot	2005-11-23 22:49:54 UTC (rev 3096)
@@ -5,7 +5,7 @@
 
 faimond=0
 . /usr/lib/fai/subroutines
-. /usr/lib/fai/subroutines-`uname -s | tr /A-Z/ /a-z/`
+. /usr/lib/fai/subroutines-`uname -s | tr A-Z a-z`
 
 [ -f /tmp/fai/variables.sh ] && . /tmp/fai/variables.sh
 

Modified: trunk/conf/fai.conf
===================================================================
--- trunk/conf/fai.conf	2005-11-23 22:49:26 UTC (rev 3095)
+++ trunk/conf/fai.conf	2005-11-23 22:49:54 UTC (rev 3096)
@@ -61,4 +61,4 @@
 FAI=/fai
 
 # the type of operating system (linux, sunos)
-OS_TYPE=`uname -s |  tr /A-Z/ /a-z/`
+OS_TYPE=`uname -s |  tr A-Z a-z`




More information about the Fai-commit mailing list