1 Index: doc/sysconfig.txt
2 ===================================================================
3 --- doc/sysconfig.txt (wersja 12087)
4 +++ doc/sysconfig.txt (kopia robocza)
6 Files in /etc/sysconfig
7 =======================
11 - deprecated values from earlier releases:
13 - CLOCKMODE=GMT indicates that the clock is set to UTC
14 - CLOCKMODE=ARC on alpha only indicates the ARC console's
15 - 42-year time offset is in effect
17 - currently correct values:
19 - UTC=true indicates that the clock is set to UTC; anything
20 - else indicates that it is set to local time
21 - ARC=true on alpha only indicates the ARC console's
22 - 42-year time offset is in effect; otherwise the normal
23 - Unix epoch is assumed
26 /etc/sysconfig/keyboard:
28 KEYTABLE=<keytable file>
29 Index: rc.d/rc.sysinit
30 ===================================================================
31 --- rc.d/rc.sysinit (wersja 12087)
32 +++ rc.d/rc.sysinit (kopia robocza)
35 sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
37 - # Set the system clock.
42 - if [ -f /etc/sysconfig/clock ]; then
43 - . /etc/sysconfig/clock
45 - # convert old style clock config to new values
46 - if [ "${CLOCKMODE}" = "GMT" ]; then
48 - elif [ "${CLOCKMODE}" = "ARC" ]; then
53 - if grep "system serial" /proc/cpuinfo 2>/dev/null | grep -q MILO 2>/dev/null ; then
58 - CLOCKFLAGS="--hctosys"
60 - if is_yes "$UTC" ; then
61 - CLOCKFLAGS="$CLOCKFLAGS --utc"
62 - CLOCKDEF="$CLOCKDEF (utc)"
64 - CLOCKFLAGS="$CLOCKFLAGS --localtime"
65 - CLOCKDEF="$CLOCKDEF (local)"
68 - if is_yes "$ARC" ; then
69 - CLOCKFLAGS="$CLOCKFLAGS -A"
70 - CLOCKDEF="$CLOCKDEF (arc)"
73 - if is_yes "$SRM" ; then
74 - CLOCKFLAGS="$CLOCKFLAGS -S"
75 - CLOCKDEF="$CLOCKDEF (srm)"
78 # Check if timezone definition is available
79 - if [ -e /etc/localtime -a -e /dev/rtc ] ; then
80 - if run_cmd "$(nls 'Setting clock')$CLOCKDEF" hwclock $CLOCKFLAGS; then
81 + if [ -e /etc/localtime ] && [ -e /dev/rtc -o -e /dev/rtc0 ] ; then
82 + if run_cmd "$(nls 'Setting clock')" hwclock --hctosys; then
83 show "$(nls 'Today`s date:') $(LC_CTYPE=C date)"; ok
89 # Set the clock if timezone definition wasn't available (eg. /usr not mounted)
90 - if is_yes "$TIME_SETUP_DELAYED" && [ -e /dev/rtc ]; then
91 - if run_cmd "$(nls 'Setting clock')$CLOCKDEF" hwclock $CLOCKFLAGS; then
92 + if is_yes "$TIME_SETUP_DELAYED" && [ -e /dev/rtc -o -e /dev/rtc0 ]; then
93 + if run_cmd "$(nls 'Setting clock')" hwclock --hctosys; then
94 show "$(nls 'Today`s date:') $(LC_CTYPE=C date)"; ok
97 Index: sysconfig/Makefile.am
98 ===================================================================
99 --- sysconfig/Makefile.am (wersja 12087)
100 +++ sysconfig/Makefile.am (kopia robocza)
102 sysconfigdir = @sysconfigdir@
109 Index: sysconfig/clock
110 ===================================================================
111 --- sysconfig/clock (wersja 12087)
112 +++ sysconfig/clock (kopia robocza)
115 -# Should the hardware clock be kept in Coordinated Universal Time
116 -# (instead of local time).
118 -# true means your machine uses epoch 1980 in its hardware clock
120 -# true means your machine uses epoch 1900 in its hardware clock