aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown2
-rwxr-xr-xrc.sysinit2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.shutdown b/rc.shutdown
index a49c18e..ce13cef 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -44,7 +44,7 @@ stat_busy "Saving Random Seed"
stat_done
stat_busy "Saving System Clock"
-if [ $HARDWARECLOCK = "UTC" ]; then
+if [ "$HARDWARECLOCK" = "UTC" ]; then
/sbin/hwclock --utc --systohc
else
/sbin/hwclock --localtime --systohc
diff --git a/rc.sysinit b/rc.sysinit
index 169aca1..ace895d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -50,7 +50,7 @@ stat_busy "Mounting Local Filesystems"
stat_done
stat_busy "Configuring System Clock"
-if [ $HARDWARECLOCK = "UTC" ]; then
+if [ "$HARDWARECLOCK" = "UTC" ]; then
/sbin/hwclock --utc --hctosys
else
/sbin/hwclock --localtime --hctosys