[Fai-commit] r3826 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Sep 4 09:46:29 UTC 2006
Author: lange
Date: 2006-09-04 09:46:29 +0000 (Mon, 04 Sep 2006)
New Revision: 3826
Modified:
trunk/bin/fai
Log:
change indentation, no code change
Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai 2006-09-04 08:05:04 UTC (rev 3825)
+++ trunk/bin/fai 2006-09-04 09:46:29 UTC (rev 3826)
@@ -226,24 +226,24 @@
exit 2
fi
- # HG: are we called as an init substitute ?
- export DO_INIT_TASKS=0
- [ "$0" = "/etc/init.d/rcS" ] && DO_INIT_TASKS=1
- if [ $DO_INIT_TASKS -eq 1 ]; then
- renewclass=1 # always renew class list when installing
- create_ramdisk
- fi
- export start_seconds=$(cut -d . -f 1 /proc/uptime)
+# are we called as an init substitute ?
+export DO_INIT_TASKS=0
+[ "$0" = "/etc/init.d/rcS" ] && DO_INIT_TASKS=1
+if [ $DO_INIT_TASKS -eq 1 ]; then
+ renewclass=1 # always renew class list when installing
+ create_ramdisk
+fi
+export start_seconds=$(cut -d . -f 1 /proc/uptime)
- export LOGDIR=/var/log/fai/current
- [ -d $LOGDIR ] && rm -rf $LOGDIR
- mkdir -p $LOGDIR
+export LOGDIR=/var/log/fai/current
+[ -d $LOGDIR ] && rm -rf $LOGDIR
+mkdir -p $LOGDIR
- # for compability, can be removed later
- if [ $DO_INIT_TASKS -eq 1 ]; then
- mkdir /tmp/fai
- mount --bind $LOGDIR /tmp/fai
- fi
+# for compability, can be removed later
+if [ $DO_INIT_TASKS -eq 1 ]; then
+ mkdir /tmp/fai
+ mount --bind $LOGDIR /tmp/fai
+fi
fai_init
if [ X$action = Xdirinst ]; then
More information about the Fai-commit
mailing list