From a162a40a46cc421869c8f52e235016c0d77fda86 Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 13 Oct 2023 18:47:02 +0200 Subject: [PATCH] rc.S.cont: fix regression error in timezone setting --- etc/rc.d/rc.S.cont | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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