/
usr
/
lib
/
dracut
/
modules.d
/
00warpclock
/
/usr/lib/dracut/modules.d/00warpclock
mkdir
upload
Name
Size
Mode
Actions
module-setup.sh
928
0644
edit
dl
rm
warpclock.sh
349
0644
edit
dl
rm
Edit:
/usr/lib/dracut/modules.d/00warpclock/warpclock.sh
(349B)
#!/bin/sh # This file is part of dracut warpclock module. # SPDX-License-Identifier: GPL-2.0-or-later # Set the kernel's timezone and reset the system time # if adjtime is set to LOCAL. if test -e /etc/adjtime; then while read -r line; do if test "$line" = LOCAL; then hwclock --systz fi done < /etc/adjtime fi
Save
cmd:
run