summaryrefslogtreecommitdiffstats
path: root/hosts/odc2a-armhf-rb/etc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/odc2a-armhf-rb/etc')
-rwxr-xr-xhosts/odc2a-armhf-rb/etc/rc.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/odc2a-armhf-rb/etc/rc.local b/hosts/odc2a-armhf-rb/etc/rc.local
index 23952e35..2a54a4c8 100755
--- a/hosts/odc2a-armhf-rb/etc/rc.local
+++ b/hosts/odc2a-armhf-rb/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