Commit dd66ab3c authored by Franco Fichtner's avatar Franco Fichtner

rc: likely bug in pkg(8)

PR: https://github.com/freebsd/pkg/issues/1424
parent cfd506ad
...@@ -145,7 +145,7 @@ if [ ${USE_MFS_TMPVAR} -ne 0 ]; then ...@@ -145,7 +145,7 @@ if [ ${USE_MFS_TMPVAR} -ne 0 ]; then
echo -n "Setting up memory disks..." echo -n "Setting up memory disks..."
setup_mfs_link /root /var/cache opnsense-update setup_mfs_link /root /var/cache opnsense-update
setup_mfs_link /root /var/cache pkg #setup_mfs_link /root /var/cache pkg
setup_mfs_link /root /var/db pkg setup_mfs_link /root /var/db pkg
setup_mfs_link /root /var crash setup_mfs_link /root /var crash
...@@ -153,14 +153,14 @@ if [ ${USE_MFS_TMPVAR} -ne 0 ]; then ...@@ -153,14 +153,14 @@ if [ ${USE_MFS_TMPVAR} -ne 0 ]; then
mount -t tmpfs tmpfs /var mount -t tmpfs tmpfs /var
install_mfs_link /root /var/cache opnsense-update install_mfs_link /root /var/cache opnsense-update
install_mfs_link /root /var/cache pkg #install_mfs_link /root /var/cache pkg
install_mfs_link /root /var/db pkg install_mfs_link /root /var/db pkg
install_mfs_link /root /var crash install_mfs_link /root /var crash
echo "done." echo "done."
else else
remove_mfs_link /root /var/cache opnsense-update remove_mfs_link /root /var/cache opnsense-update
remove_mfs_link /root /var/cache pkg #remove_mfs_link /root /var/cache pkg
remove_mfs_link /root /var/db pkg remove_mfs_link /root /var/db pkg
remove_mfs_link /root /var crash remove_mfs_link /root /var crash
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment