/usr/share/tcos/scripts/tcos-bottom/04hwclock is in initramfs-tools-tcos 0.89.93ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
# fixme, don't work as expected
exit 0
quiet=n
. /scripts/functions
. /conf/tcos.conf
. /conf/tcos-run-functions
log_begin_msg "Setting clock based on hardware clock"
hwclock --localtime --hctosys
log_end_msg $?
exit 0
|