diff options
Diffstat (limited to 'hosts/profitbricks-build3-amd64/etc')
-rwxr-xr-x | hosts/profitbricks-build3-amd64/etc/rc.local | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local index 7f050668..7940adf5 100755 --- a/hosts/profitbricks-build3-amd64/etc/rc.local +++ b/hosts/profitbricks-build3-amd64/etc/rc.local @@ -11,13 +11,13 @@ # # By default this script does nothing. -#systemctl disable systemd-timesyncd -#systemctl disable systemd-timedated -#systemctl stop systemd-timesyncd -#systemctl stop systemd-timedated -#ntpdate -b de.pool.ntp.org +systemctl disable systemd-timesyncd +systemctl disable systemd-timedated +systemctl stop systemd-timesyncd +systemctl stop systemd-timedated +ntpdate -b de.pool.ntp.org echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root -#date --set="-400 days" -#echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root +date --set="+400 days" +echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root exit 0 |