Commit 8ea003a0 authored by Franco Fichtner's avatar Franco Fichtner

rc: set up additional partition for installer logs

parent 1e6406e0
...@@ -174,6 +174,7 @@ if [ ${USE_MFS_VAR} -ne 0 ]; then ...@@ -174,6 +174,7 @@ if [ ${USE_MFS_VAR} -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/log bsdinstaller
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
...@@ -181,6 +182,7 @@ if [ ${USE_MFS_VAR} -ne 0 ]; then ...@@ -181,6 +182,7 @@ if [ ${USE_MFS_VAR} -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/log bsdinstaller
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
...@@ -188,6 +190,7 @@ if [ ${USE_MFS_VAR} -ne 0 ]; then ...@@ -188,6 +190,7 @@ if [ ${USE_MFS_VAR} -ne 0 ]; then
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/log bsdinstaller
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
......
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