diff options
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 |