From 8cb99ea7bf7b086b99af67776d38abbf7be8d6db Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 27 Jul 2020 18:05:06 +0000 Subject: [PATCH] core148: Update crontab with recent changes Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/148/update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/rootfiles/core/148/update.sh b/config/rootfiles/core/148/update.sh index c89da8fc4f..c77e72276f 100644 --- a/config/rootfiles/core/148/update.sh +++ b/config/rootfiles/core/148/update.sh @@ -62,6 +62,13 @@ ldconfig # Start services +# Update crontab +sed -i /var/spool/cron/root.orig \ + -e "s/xt_geoip_update/update-location-database/" \ + -e "/location/s/monthly/hourly/" \ + -e "s/GeoIP/location/" +fcrontab -z + # This update needs a reboot... #touch /var/run/need_reboot -- 2.39.2