Do not create /root/var/tmp

This commit is contained in:
Scott Ullrich 2009-08-06 20:11:50 -04:00
parent 0682387751
commit 1213235ce2

3
etc/rc
View File

@ -90,9 +90,8 @@ if [ "$PLATFORM" = "cdrom" ] ; then
elif [ "$PLATFORM" = "embedded" ] ; then
# do nothing for embedded platform
elif [ "$PLATFORM" = "nanobsd" ] ; then
/bin/mkdir -p /root/var/db/pkg
# Ensure that packages can be persistent across reboots
/bin/mkdir -p /root/var/db/pkg
rm -rf /var/db/pkg
ln -s /root/var/db/pkg/ /var/db/pkg
else