[arch-projects] [initscripts] [PATCH 02/18] Fix whitespace

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Mon Jun 27 13:11:08 EDT 2011


---
 rc.shutdown |    2 +-
 rc.sysinit  |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/rc.shutdown b/rc.shutdown
index 9eb0b31..6d43229 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -58,7 +58,7 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
 	stat_busy "Deactivating encrypted volumes:"
 		# Maybe someone has LVM on an encrypted block device
 		# executing an extra vgchange is errorless
-		[[ $USELVM = [Yy][Ee][Ss] ]] &&	vgchange --sysinit -a n &>/dev/null
+		[[ $USELVM = [Yy][Ee][Ss] ]] && vgchange --sysinit -a n &>/dev/null
 		do_lock() {
 			stat_append "${1}.."
 			if $CS remove "$1" &>/dev/null; then
diff --git a/rc.sysinit b/rc.sysinit
index 50a8faf..c665787 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -65,8 +65,8 @@ if [[ $HWCLOCK_PARAMS ]]; then
 		# 2. Filesystem checks can depend on system time
 		# 3. This also sets the kernel time zone, used by e.g. vfat
 		# If TIMEZONE is not set in rc.conf, the timezone stored in /etc/localtime
-		#	is used. If HARDWARECLOCK is not set in rc.conf, the value in
-		#	/var/lib/hwclock/adjfile is used (in this case /var can not be a separate
+		# is used. If HARDWARECLOCK is not set in rc.conf, the value in
+		# /var/lib/hwclock/adjfile is used (in this case /var can not be a separate
 		# partition).
 		if TZ=$TIMEZONE hwclock $HWCLOCK_PARAMS; then
 			stat_done
@@ -273,9 +273,9 @@ set_consolefont
 
 if [[ -e /proc/sys/kernel/dmesg_restrict ]] &&
 	(( $(< /proc/sys/kernel/dmesg_restrict) == 1 )); then
-    install -Tm 0600 <( dmesg ) /var/log/dmesg.log
+	install -Tm 0600 <( dmesg ) /var/log/dmesg.log
 else
-    install -Tm 0644 <( dmesg ) /var/log/dmesg.log
+	install -Tm 0644 <( dmesg ) /var/log/dmesg.log
 fi
 
 run_hook sysinit_end
-- 
1.7.1



More information about the arch-projects mailing list