about summary refs log tree commit diff
path: root/shutdown.d/40-hwclock.sh
blob: 490ad73145656c31b4abc2c68726b5cb1691a28c (plain) (blame)
1
2
3
if [ -z "$VIRTUALIZATION" -a -n "$HARDWARECLOCK" ]; then
    hwclock --systohc ${HARDWARECLOCK:+--$(echo $HARDWARECLOCK |tr A-Z a-z)}
fi