From 0f838b3c7ee47a0db1fbf512e41d9efeb82109f2 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 21 Jun 2017 13:14:50 +0200 Subject: reproducible Debian: (needed on stretch) also disable ntp.service on future hosts Signed-off-by: Holger Levsen --- hosts/opi2c-armhf-rb/etc/rc.local | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hosts/opi2c-armhf-rb/etc/rc.local') 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 -- cgit v1.2.3-70-g09d2