golden hour
/usr/lib/udev
⬆️ Go Up
Upload
File/Folder
Size
Actions
ata_id
62.33 KB
Del
OK
cdrom_id
78.34 KB
Del
OK
fido_id
94.5 KB
Del
OK
hdparm
1.37 KB
Del
OK
hwclock-set
776 B
Del
OK
hwdb.bin
9.49 MB
Del
OK
hwdb.d
-
Del
OK
mtd_probe
18.16 KB
Del
OK
rules.d
-
Del
OK
scsi_id
78.88 KB
Del
OK
v4l_id
18.24 KB
Del
OK
Edit: hwclock-set
#!/bin/sh # Reset the System Clock to UTC if the hardware clock from which it # was copied by the kernel was in localtime. dev=$1 if [ -e /run/systemd/system ] ; then exit 0 fi if [ -e /run/udev/hwclock-set ]; then exit 0 fi if [ -f /etc/default/rcS ] ; then . /etc/default/rcS fi # These defaults are user-overridable in /etc/default/hwclock BADYEAR=no HWCLOCKACCESS=yes HWCLOCKPARS= HCTOSYS_DEVICE=rtc0 if [ -f /etc/default/hwclock ] ; then . /etc/default/hwclock fi if [ yes = "$BADYEAR" ] ; then /sbin/hwclock --rtc=$dev --systz --badyear /sbin/hwclock --rtc=$dev --hctosys --badyear else /sbin/hwclock --rtc=$dev --systz /sbin/hwclock --rtc=$dev --hctosys fi # Note 'touch' may not be available in initramfs > /run/udev/hwclock-set
Save