[2/4] xt_geoip_update: Use /var/tmp for temporary data
Commit Message
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>
---
src/scripts/xt_geoip_update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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