* We now create the /tmp directory if it does not exist yet.

* Also, we now empty it if it already exists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35614 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-02-25 10:40:58 +00:00
parent a9038d00b4
commit 51e29291d2

View File

@ -80,6 +80,16 @@ else
runprog system/bin/clockconfig
fi
# Create /tmp dir, and make sure it's empty
TMPDIR=/boot/common/cache/tmp
if [ ! -d $TMPDIR ]; then
mkdir -f $TMPDIR
chmod a+rwx $TMPDIR
else
rm -rf $TMPDIR/*
fi
# Launch servers