* 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:
parent
a9038d00b4
commit
51e29291d2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user