* 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:
@@ -80,6 +80,16 @@ else
|
|||||||
runprog system/bin/clockconfig
|
runprog system/bin/clockconfig
|
||||||
fi
|
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
|
# Launch servers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user