]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core148: Update crontab with recent changes
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Jul 2020 18:05:06 +0000 (18:05 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Jul 2020 18:05:06 +0000 (18:05 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/148/update.sh

index c89da8fc4f4d89ed61917ea98ab0dff9ce893352..c77e72276faa9107573e9075a631bd7fb7e847dd 100644 (file)
@@ -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