Lines 18-23
Link Here
|
18 |
TBLURB="VServer" |
18 |
TBLURB="VServer" |
19 |
fakeit=1 |
19 |
fakeit=1 |
20 |
return 0 |
20 |
return 0 |
|
|
21 |
elif is_xenU_sys ; then |
22 |
TBLURB="xenU" |
23 |
fakeit=1 |
24 |
return 0 |
21 |
elif grep -q ' cobd$' /proc/devices ; then |
25 |
elif grep -q ' cobd$' /proc/devices ; then |
22 |
TBLURB="coLinux" |
26 |
TBLURB="coLinux" |
23 |
fakeit=1 |
27 |
fakeit=1 |
Lines 103-111
Link Here
|
103 |
setupopts |
107 |
setupopts |
104 |
|
108 |
|
105 |
ebegin "Syncing system clock to hardware clock [${TBLURB}]" |
109 |
ebegin "Syncing system clock to hardware clock [${TBLURB}]" |
106 |
if [[ ${CLOCK} == "UML" ]] ; then |
110 |
|
|
|
111 |
# Shouldn't this be a test against fakeit? If not, shouldn't this be |
112 |
# checking TBLURB and not CLOCK? -cgs |
113 |
if [[ "${CLOCK}" == "UML" ]] ; then |
107 |
ret=0 |
114 |
ret=0 |
108 |
|
115 |
|
|
|
116 |
elif [[ "${TBLURB}" == "xenU" ]] ; then |
117 |
ret=0 |
118 |
|
109 |
elif [[ -x /sbin/hwclock ]] ; then |
119 |
elif [[ -x /sbin/hwclock ]] ; then |
110 |
errstr=$(/sbin/hwclock --systohc ${myopts} 2>&1 >/dev/null) |
120 |
errstr=$(/sbin/hwclock --systohc ${myopts} 2>&1 >/dev/null) |
111 |
|
121 |
|