Bugzilla – Attachment #522463: change /etc/adjtime only if $HWCLOCK is set for bug #791485
# forwarded to /etc/adjtime, the file used by hwclock(8) and\
# systemd(1) as reference for the CMOS/HW clock.\
' /etc/sysconfig/clock
case "$HWCLOCK" in
*-l*) sed -ri 's@^UTC$@LOCAL@' /etc/adjtime ;;
*) sed -ri 's@^LOCAL$@UTC@' /etc/adjtime ;;
esac
fi
#