]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
xt_geoip_update: Use /var/tmp for temporary data
authorDaniel Weismüller <daniel.weismueller@ipfire.org>
Mon, 14 Oct 2019 14:47:54 +0000 (16:47 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Oct 2019 17:45:23 +0000 (17:45 +0000)
Since we have some systems that are restricted to only 2GB of
space on /, we need to move this to where we have enough space.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/scripts/xt_geoip_update

index f3ba8a52e90ec6475a3eb6c69203e6b6183bb82d..f633229fb34155daf388327ca9772fe1fe7eff8c 100644 (file)
@@ -19,7 +19,7 @@
 #                                                                             #
 ###############################################################################
 
-TMP_PATH=$(mktemp -d)
+TMP_PATH=$(mktemp -dp /var/tmp)
 TMP_FILE=$(mktemp -p $TMP_PATH)
 
 SCRIPT_PATH=/usr/local/bin