From 8f1fe7c5314aae2893a52959f0d06dd9c0d28d00 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 27 Sep 2015 10:56:34 +0200 Subject: [PATCH] core94: fix chrontab modification check for dma. Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/94/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/core/94/update.sh b/config/rootfiles/core/94/update.sh index 7dca2a1fd3..ff9797c11b 100644 --- a/config/rootfiles/core/94/update.sh +++ b/config/rootfiles/core/94/update.sh @@ -56,7 +56,7 @@ mv -f /etc/ssh/ssh_host_rsa_key{,.old} sed -i /var/spool/cron/root.orig -e "/Force an update once a month/d" sed -i /var/spool/cron/root.orig -e "/ddns update-all --force/d" -grep -qv "dma -q" || cat <> /var/spool/cron/root.orig +grep -q "dma -q" /var/spool/cron/root.orig || cat <> /var/spool/cron/root.orig # Retry sending spooled mails regularly %hourly * /usr/sbin/dma -q -- 2.39.2