---
 rc.sysinit |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 91ee03a..319ea60 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -243,13 +243,13 @@ stat_done
 status "Activating Swap" /sbin/swapon -a
 
 stat_busy "Configuring System Clock"
-if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then
+if [[ $TIMEZONE && -e /usr/share/zoneinfo/$TIMEZONE ]]; then
        /bin/rm -f /etc/localtime
        /bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
 fi
 
 clock_pid=""
-if [ -n "$HWCLOCK_PARAMS" ]; then
+if [[ $HWCLOCK_PARAMS ]]; then
        # This time, we set the clock for real. Use the adjustment file now that
        # /var will definitely be available, and then set the system clock once
        # the hardware clock has been adjusted accordingly. The backgrounding 
magic
-- 
1.7.1

Reply via email to