summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build9-amd64
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build9-amd64')
-rwxr-xr-xhosts/profitbricks-build9-amd64/etc/rc.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/profitbricks-build9-amd64/etc/rc.local b/hosts/profitbricks-build9-amd64/etc/rc.local
index 23952e35..2a54a4c8 100755
--- a/hosts/profitbricks-build9-amd64/etc/rc.local
+++ b/hosts/profitbricks-build9-amd64/etc/rc.local
@@ -12,8 +12,8 @@ send_back_to_the_future() {
# stop ntp
service ntp stop || true
# disable systemd date services (and don't fail if systemd ain't running)
- systemctl disable systemd-timesyncd
- systemctl disable systemd-timedated
+ systemctl disable systemd-timesyncd || true
+ systemctl disable systemd-timedated || true
systemctl stop systemd-timesyncd || true
systemctl stop systemd-timedated || true
# set correct date