moar explanation, should work with multiple distros .deb/.rpm

This commit is contained in:
kneutron 2021-04-13 12:26:23 -05:00 committed by GitHub
parent 124705e38a
commit 4e61f99588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,11 @@
#!/bin/bash
# mod for rhel8 / alma
# Quite useful if time/date in your Resumed VM is stuck in the past
# REF: https://access.redhat.com/solutions/4130881
date
# if exist, use it
# if exist, use it; should work with .deb-based distros
[ $(type -path ntpdate |wc -l) -gt 0 ] && ntpdate -s pool.ntp.org
# RHEL8 / alma