summaryrefslogtreecommitdiffstats
path: root/hosts/opi2c-armhf-rb
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/opi2c-armhf-rb')
-rwxr-xr-xhosts/opi2c-armhf-rb/etc/rc.local2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/opi2c-armhf-rb/etc/rc.local b/hosts/opi2c-armhf-rb/etc/rc.local
index 45688521..95f5f352 100755
--- a/hosts/opi2c-armhf-rb/etc/rc.local
+++ b/hosts/opi2c-armhf-rb/etc/rc.local
@@ -14,8 +14,10 @@ send_back_to_the_future() {
# disable systemd date services (and don't fail if systemd ain't running)
systemctl disable systemd-timesyncd || true
systemctl disable systemd-timedated || true
+ systemctl disable ntp.service || true
systemctl stop systemd-timesyncd || true
systemctl stop systemd-timedated || true
+ systemctl stop ntp.service || true
# set correct date
ntpdate -b de.pool.ntp.org
# set fake date