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