[Fai-commit] r3851 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Tue Sep 5 12:11:36 UTC 2006
Author: lange
Date: 2006-09-05 12:11:35 +0000 (Tue, 05 Sep 2006)
New Revision: 3851
Modified:
trunk/bin/fai
Log:
remove variables oclass
Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai 2006-09-05 12:05:49 UTC (rev 3850)
+++ trunk/bin/fai 2006-09-05 12:11:35 UTC (rev 3851)
@@ -35,8 +35,6 @@
stamp=/var/run/fai/FAI_INSTALLATION_IN_PROGRESS
romountopt="-o async,noatime,nolock,ro,actimeo=1800"
-# the type of operating system (linux, sunos)
-oclass=$(uname -s | tr a-z A-Z)
faimond=0
export renewclass=0
cfdir=/etc/fai
@@ -115,7 +113,7 @@
fi
# since HOSTNAME may change define classes now, so we can call hooks before fai-class is called
- [ -z "$classes" ] && classes="DEFAULT $oclass $HOSTNAME LAST"
+ [ -z "$classes" ] && classes="DEFAULT $(uname -s | tr a-z A-Z) $HOSTNAME LAST"
prcopyleft
More information about the Fai-commit
mailing list