HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //snap/core/17247/etc/init/hwclock.conf
# hwclock - adjust system clock and timezone
#
# The hwclock task adjusts the system clock when the hardware clock is
# set to localtime (e.g. when dual-booting with Windows), and also
# ensures that the system timezone is set so that timestamps are written
# to FAT devices.

description	"adjust system clock and timezone"

start on starting mountall

task

script
    # BADYEAR can be in either file
    . /etc/default/rcS
    [ ! -r /etc/default/hwclock ] || . /etc/default/hwclock
    grep -qw LOCAL /etc/adjtime 2>/dev/null && tz="--localtime" || tz="--utc"
    [ "$BADYEAR" = "yes" ] && badyear="--badyear"
    exec hwclock --systz $tz --noadjfile $badyear
end script