|
Line
Link Here
|
| 0 |
-- /usr/share/vdr/shutdown/pre-shutdown-90-systohc.sh 2018-02-03 21:49:38.516984206 +0100 |
0 |
++ /usr/share/vdr/shutdown/pre-shutdown-90-systohc.sh 2018-02-03 21:39:21.397421974 +0100 |
|
Lines 1-11
Link Here
|
| 1 |
# $Id: 5783cb343138def65e48b0b28a4b1f97a68f88d9 $ |
1 |
# $Id: 5783cb343138def65e48b0b28a4b1f97a68f88d9 $ |
| 2 |
|
2 |
|
| 3 |
if [ ! -f /etc/init.d/sysfs ]; then |
3 |
if [ ! -f /etc/init.d/sysfs ] && [ -f /etc/conf.d/clock ]; then |
| 4 |
# Baselayout 1 |
4 |
# Baselayout 1 |
| 5 |
. /etc/conf.d/clock |
5 |
. /etc/conf.d/clock |
| 6 |
else |
6 |
else |
| 7 |
# Baselayout 2 |
7 |
# Baselayout 2 |
| 8 |
. /etc/conf.d/hwclock |
8 |
. /etc/conf.d/hwclock |
| 9 |
fi |
9 |
fi |
| 10 |
|
10 |
|
| 11 |
|
11 |
|
|
Lines 15-21
Link Here
|
| 15 |
|
15 |
|
| 16 |
if yesno "${SHUTDOWN_SYSTOHC:-no}"; then |
16 |
if yesno "${SHUTDOWN_SYSTOHC:-no}"; then |
| 17 |
|
17 |
|
| 18 |
if [ ${CLOCK_SYSTOHC:=no} == "no" ] || [ ${clock_systohc:=NO} == "NO" ] ;then |
18 |
if [ ${CLOCK_SYSTOHC:=no} == "no" ] || [ ${clock_systohc:=NO} == "NO" ]; then |
| 19 |
|
19 |
|
| 20 |
do_systohc |
20 |
do_systohc |
| 21 |
|
21 |
|