From 572df80e300971135c06f948f00a33ea476123e3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 21 Jun 2017 12:21:02 +0200 Subject: reproducible Debian: service names appreantly have changed, so let's ignore failures Signed-off-by: Holger Levsen --- hosts/opi2c-armhf-rb/etc/rc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 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 -- cgit v1.2.3-70-g09d2