]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
geo-ip: download initial database in background.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Oct 2015 15:55:17 +0000 (16:55 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Oct 2015 15:57:16 +0000 (16:57 +0100)
on slow internet connections like gprs the first start hung many minutes.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/init.d/networking/red.up/99-geoip-database

index 4bd3ee2ab74e59972e6d62c115a9a57617282a7e..335006a690a4009eb7d0fe268b5306171315ca52 100644 (file)
@@ -17,7 +17,7 @@ done
 
 # Download ruleset if none has been found.
 if ! ${found}; then
-       /usr/local/bin/xt_geoip_update >/dev/null 2>&1
+       /usr/local/bin/xt_geoip_update >/dev/null 2>&1 &
 fi
 
 exit 0