diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-06 19:46:17 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-06 19:46:17 -0400 |
commit | 95399b720cdd1555ca9420d89d22fb009383b251 (patch) | |
tree | 4ee2fbaa7019d873b9b3248cd202636fdb3d6a91 /etc | |
parent | 99b8b3040fc4f06083993489bd71d496549ca994 (diff) | |
download | pfsense-95399b720cdd1555ca9420d89d22fb009383b251.zip pfsense-95399b720cdd1555ca9420d89d22fb009383b251.tar.gz |
Reverse link arguments and rm dir
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -96,8 +96,9 @@ elif [ "$PLATFORM" = "nanobsd" ] ; then /bin/mkdir -p /root/var/tmp # Ensure that packages can be persistent across reboots - ln -s /var/db/pkg /root/var/db/pkg - ln -s /var/tmp /root/var/tmp + rm -rf /var/db/pkg /var/tmp + ln -s /root/var/db/pkg/ /var/db/pkg + ln -s /root/var/tmp /var/tmp else SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` /sbin/swapon -a 2>/dev/null >/dev/null |