diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-24 07:32:07 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-24 07:32:07 -0200 |
commit | d71525b31f352d2c6be9eeec24d5f79af4c440a3 (patch) | |
tree | b9d9d4278e93c7ba8c95faef1fda66ad0ba71d11 /src | |
parent | 98d396835073167efdc6f342e9856d6bb98db08d (diff) | |
download | pfsense-d71525b31f352d2c6be9eeec24d5f79af4c440a3.zip pfsense-d71525b31f352d2c6be9eeec24d5f79af4c440a3.tar.gz |
Create pkg directories symlinks when using ramdisk, ticket #5493
Diffstat (limited to 'src')
-rwxr-xr-x | src/etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ if [ "${PLATFORM}" != "cdrom" ]; then /etc/rc.embedded fi - if [ -n "${MOVE_PKG_DATA}" ]; then + if [ -n "${MOVE_PKG_DATA}" -o "${USE_MFS_TMPVAR}" = "true" ]; 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 |