From: Daniel Weismüller Date: Mon, 14 Oct 2019 14:47:54 +0000 (+0200) Subject: xt_geoip_update: Use /var/tmp for temporary data X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cd8d550109b03d6187f73463a118f74664242a3;p=people%2Fms%2Fipfire-2.x.git xt_geoip_update: Use /var/tmp for temporary data 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 Signed-off-by: Arne Fitzenreiter --- diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index f3ba8a52e9..f633229fb3 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -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