]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-svn.patch
- rel 3; net-tools no longer required - needed tools are in hostname.spec which is...
[packages/rc-scripts.git] / rc-scripts-svn.patch
1 Index: doc/sysconfig.txt
2 ===================================================================
3 --- doc/sysconfig.txt   (wersja 12087)
4 +++ doc/sysconfig.txt   (kopia robocza)
5 @@ -3,23 +3,6 @@
6  Files in /etc/sysconfig
7  =======================
8  
9 -/etc/sysconfig/clock:
10 -
11 -  deprecated values from earlier releases:
12 -
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
16 -
17 -  currently correct values:
18 -
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
24 -
25 -
26  /etc/sysconfig/keyboard:
27  
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)
33 @@ -289,50 +289,9 @@
34         # may be missing).
35         sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
36  
37 -       # Set the system clock.
38 -       ARC=0
39 -       SRM=0
40 -       UTC=0
41 -
42 -       if [ -f /etc/sysconfig/clock ]; then
43 -               . /etc/sysconfig/clock
44 -
45 -               # convert old style clock config to new values
46 -               if [ "${CLOCKMODE}" = "GMT" ]; then
47 -                       UTC=true
48 -               elif [ "${CLOCKMODE}" = "ARC" ]; then
49 -                       ARC=true
50 -               fi
51 -       fi
52 -
53 -       if grep "system serial" /proc/cpuinfo 2>/dev/null | grep -q MILO 2>/dev/null ; then
54 -               ARC=true
55 -       fi
56 -
57 -       CLOCKDEF=""
58 -       CLOCKFLAGS="--hctosys"
59 -
60 -       if is_yes "$UTC" ; then
61 -               CLOCKFLAGS="$CLOCKFLAGS --utc"
62 -               CLOCKDEF="$CLOCKDEF (utc)"
63 -       else
64 -               CLOCKFLAGS="$CLOCKFLAGS --localtime"
65 -               CLOCKDEF="$CLOCKDEF (local)"
66 -       fi
67 -
68 -       if is_yes "$ARC" ; then
69 -               CLOCKFLAGS="$CLOCKFLAGS -A"
70 -               CLOCKDEF="$CLOCKDEF (arc)"
71 -       fi
72 -
73 -       if is_yes "$SRM" ; then
74 -               CLOCKFLAGS="$CLOCKFLAGS -S"
75 -               CLOCKDEF="$CLOCKDEF (srm)"
76 -       fi
77 -
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
84                 fi
85         else
86 @@ -918,8 +877,8 @@
87         fi
88  
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
95                 fi
96         fi
97 Index: sysconfig/Makefile.am
98 ===================================================================
99 --- sysconfig/Makefile.am       (wersja 12087)
100 +++ sysconfig/Makefile.am       (kopia robocza)
101 @@ -5,7 +5,6 @@
102  sysconfigdir = @sysconfigdir@
103  
104  sysconfig_DATA = \
105 -       clock \
106         init-colors \
107         hwprof \
108         system \
109 Index: sysconfig/clock
110 ===================================================================
111 --- sysconfig/clock     (wersja 12087)
112 +++ sysconfig/clock     (kopia robocza)
113 @@ -1,8 +0,0 @@
114 -# $Id$
115 -# Should the hardware clock be kept in Coordinated Universal Time
116 -# (instead of local time).
117 -UTC=true
118 -# true means your machine uses epoch 1980 in its hardware clock
119 -ARC=false
120 -# true means your machine uses epoch 1900 in its hardware clock
121 -SRM=false
This page took 0.06384 seconds and 3 git commands to generate.