[Fai-commit] r4963 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Thu Jun 12 14:48:11 UTC 2008
Author: lange
Date: 2008-06-12 14:48:09 +0000 (Thu, 12 Jun 2008)
New Revision: 4963
Modified:
trunk/lib/subroutines-linux
Log:
use = instead of -eq, fix script name
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2008-06-12 13:17:56 UTC (rev 4962)
+++ trunk/lib/subroutines-linux 2008-06-12 14:48:09 UTC (rev 4963)
@@ -108,9 +108,9 @@
task_partition() {
- if [ "$USE_SETUP_STORAGE" -eq 1 ]; then
+ if [ X$USE_SETUP_STORAGE = X1 ]; then
echo "Partitioning local harddisks using setup-storage"
- [ ! -s $LOGDIR/disk_var.sh ] && setup_harddisks -X | tee $LOGDIR/format.log 2>&1
+ [ ! -s $LOGDIR/disk_var.sh ] && setup-storage -X | tee $LOGDIR/format.log 2>&1
else
echo "Partitioning local harddisks using setup_harddisks"
[ ! -s $LOGDIR/disk_var.sh ] && setup_harddisks -d -X | tee $LOGDIR/format.log 2>&1
More information about the Fai-commit
mailing list