View | Details | Raw Unified | Return to bug 791485
Collapse All | Expand All

(-)aaa_base/aaa_base.post (-4 / +4 lines)
Lines 46-56 Link Here
46
# forwarded to /etc/adjtime, the file used by hwclock(8) and\
46
# forwarded to /etc/adjtime, the file used by hwclock(8) and\
47
# systemd(1) as reference for the CMOS/HW clock.\
47
# systemd(1) as reference for the CMOS/HW clock.\
48
' /etc/sysconfig/clock
48
' /etc/sysconfig/clock
49
	case "$HWCLOCK" in
50
	*-l*) sed -ri 's@^UTC$@LOCAL@' /etc/adjtime ;;
51
	*)	  sed -ri 's@^LOCAL$@UTC@' /etc/adjtime ;;
52
	esac
49
    fi
53
    fi
50
    case "$HWCLOCK" in
51
    *-l*) sed -ri 's@^UTC$@LOCAL@' /etc/adjtime ;;
52
    *)	  sed -ri 's@^LOCAL$@UTC@' /etc/adjtime ;;
53
    esac
54
fi
54
fi
55
55
56
#
56
#

Return to bug 791485