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