X7ROOT File Manager
Current Path:
/usr/lib64/pm-utils/sleep.d
usr
/
lib64
/
pm-utils
/
sleep.d
/
📁
..
📄
00logging
(274 B)
📄
00powersave
(203 B)
📄
01grub
(1.22 KB)
📄
49bluetooth
(664 B)
📄
55NetworkManager
(1.2 KB)
📄
56dhclient
(1.77 KB)
📄
75modules
(453 B)
📄
90clock
(614 B)
📄
94cpufreq
(1.07 KB)
📄
95led
(297 B)
📄
98video-quirk-db-handler
(13.57 KB)
📄
99video
(5.53 KB)
Editing: 90clock
#!/bin/sh # Synchronize system time with hardware time. # Modern kernels handle this correctly so we skip this hook by default. . "${PM_FUNCTIONS}" suspend_clock() { printf "Saving system time to hardware clock..." /sbin/hwclock --systohc >/dev/null 2>&1 0<&1 && echo Done. || \ echo Failed. } resume_clock() { printf "Loading system time from hardware clock..." /sbin/hwclock --hctosys >/dev/null 2>&1 0<&1 && echo Done. || \ echo Failed. } is_set "$NEED_CLOCK_SYNC" || exit $NA case "$1" in hibernate|suspend) suspend_clock ;; thaw|resume) resume_clock ;; *) exit $NA ;; esac
Upload File
Create Folder