diff --git a/etc/rc.d/rc.S.cont b/etc/rc.d/rc.S.cont index b4ff449ff..46e3ddb9e 100755 --- a/etc/rc.d/rc.S.cont +++ b/etc/rc.d/rc.S.cont @@ -201,7 +201,7 @@ fi # LimeTech - restore hostname from ident.cfg file on flash and ensure hostname is # defined as localhost alias in /etc/hosts (this lets wins name resolution work) NAME="Tower" -TIMEZONE="America/Los_Angeles" +timeZone="America/Los_Angeles" if [[ -r /boot/config/ident.cfg ]]; then . <(/usr/bin/fromdos >/etc/hosts # LimeTech - restore the configured timezone -if [[ $TIMEZONE == custom ]]; then +if [[ $timeZone == custom ]]; then /bin/ln -sf /boot/config/timezone /etc/localtime else - /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime + /bin/ln -sf /usr/share/zoneinfo/$timeZone /etc/localtime fi # LimeTech - restore password files stored on flash