summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-02-23 12:35:45 -0500
committerjim-p <jimp@pfsense.org>2011-02-23 12:36:43 -0500
commit6c67a28df2bc9d805285a820212d6d299600ce7f (patch)
tree42292ba51ffee0f65f36fdd4d2ce09838d7ba625
parent0030036fe1da0c5b99f4ea3654be23b5c66e8e8d (diff)
downloadpfsense-6c67a28df2bc9d805285a820212d6d299600ce7f.zip
pfsense-6c67a28df2bc9d805285a820212d6d299600ce7f.tar.gz
Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to download packages otherwise. (From sullrich)
-rwxr-xr-xetc/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 887e9ec..38b971a 100755
--- a/etc/rc
+++ b/etc/rc
@@ -49,10 +49,12 @@ if [ "$PLATFORM" = "cdrom" ]; then
fi
if [ "$PLATFORM" = "embedded" ]; then
+ export PKG_TMPDIR=/root/
/etc/rc.embedded
fi
if [ "$PLATFORM" = "nanobsd" ]; then
+ export PKG_TMPDIR=/root/
/etc/rc.embedded
fi
OpenPOWER on IntegriCloud