aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown2
-rwxr-xr-xrc.sysinit8
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 a2c775f..864d2c7 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
@@ -270,9 +270,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