aboutsummaryrefslogtreecommitdiff
blob: 5783cb343138def65e48b0b28a4b1f97a68f88d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id$

if [ ! -f /etc/init.d/sysfs ]; then
# Baselayout 1
. /etc/conf.d/clock
    else
# Baselayout 2
. /etc/conf.d/hwclock
fi


do_systohc() {
    hwclock --systohc
}

if yesno "${SHUTDOWN_SYSTOHC:-no}"; then

    if [ ${CLOCK_SYSTOHC:=no} == "no" ] || [ ${clock_systohc:=NO} == "NO" ] ;then

        do_systohc

    fi

fi