summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-06 20:11:50 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-06 20:11:50 -0400
commit1213235ce2116cf8dff2e9fa8a67bc89ecdc8290 (patch)
tree9c6582761cff9df87eb5f87a5b1790dbed5489d5
parent0682387751aad413e4c351d8c6964701d5af0469 (diff)
downloadpfsense-1213235ce2116cf8dff2e9fa8a67bc89ecdc8290.zip
pfsense-1213235ce2116cf8dff2e9fa8a67bc89ecdc8290.tar.gz
Do not create /root/var/tmp
-rwxr-xr-xetc/rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 6b4c373..9db22f6 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud