diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-30 12:54:32 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-30 12:54:39 -0300 |
commit | 22616af2b447d1d45b60b6869fb975fcfd695e2e (patch) | |
tree | 2816539f8d29e0be09bbe2f5b3a0466a5e87e217 /src/etc/rc | |
parent | 40547fe43e7f0a8349fac2c847d29002469ba715 (diff) | |
download | pfsense-22616af2b447d1d45b60b6869fb975fcfd695e2e.zip pfsense-22616af2b447d1d45b60b6869fb975fcfd695e2e.tar.gz |
Create symlinks during the boot for nanobsd
Diffstat (limited to 'src/etc/rc')
-rwxr-xr-x | src/etc/rc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -178,6 +178,10 @@ if [ "$PLATFORM" = "pfSense" ]; then SWAPDEVICE=`/bin/cat /etc/fstab | /usr/bin/grep swap | /usr/bin/cut -f1` /sbin/swapon -a 2>/dev/null >/dev/null /etc/rc.savecore +elif [ "${PLATFORM}" = "nanobsd" ]; then + /bin/mkdir -p /var/db /var/cache + ln -sf ../../root/var/db/pkg /var/db/pkg + ln -sf ../../root/var/cache/pkg /var/cache/pkg fi if [ "$PLATFORM" = "cdrom" ] ; then |