blob: 9cdfd7925468fb51ac9f48e2fc3d2f9b048023a5 [file] [log] [blame]
#!/bin/bash
PROGNAME=$(basename $(readlink -f $0))
date --set="$(stat /lost+found |grep Change |sed -e 's/^Change: //g' -e 's/+0000//g')"
timedatectl set-ntp false
timedatectl set-time "$(date '+%Y-%m-%d %H:%M:%S')"
timedatectl set-ntp true