mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
geo-ip: download initial database in background.
on slow internet connections like gprs the first start hung many minutes. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -17,7 +17,7 @@ done
|
|||||||
|
|
||||||
# Download ruleset if none has been found.
|
# Download ruleset if none has been found.
|
||||||
if ! ${found}; then
|
if ! ${found}; then
|
||||||
/usr/local/bin/xt_geoip_update >/dev/null 2>&1
|
/usr/local/bin/xt_geoip_update >/dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user