Commit 46fc7fe3 authored by Franco Fichtner's avatar Franco Fichtner

rc: makefs -> mkimg migration seems to fix this, yay!

parent 28b058c8
......@@ -77,6 +77,9 @@ while [ ${attempts} -lt 3 ]; do
attempts=$((attempts+1))
done
# clear growfs marker now that we are read/write
rm -f ${GROWFS_MARKER}
# see if / is writable (aka. non-LiveCD boot)
if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
# only remove the directory
......@@ -89,17 +92,6 @@ else
done
fi
if [ -f ${GROWFS_MARKER} ]; then
# clean up the growfs marker to not trigger it anymore
rm ${GROWFS_MARKER}
# while here, why not unbreak the next boot...
FS_DEV=$(glabel status -as | grep ufs/OPNsense | awk '{ print $3 }')
if [ -n "${FS_DEV}" ]; then
echo "/dev/${FS_DEV} / ufs rw,async,noatime 1 1" > /etc/fstab
fi
fi
# regenerate groups and users for base
/usr/local/etc/rc.recover base > /dev/null
......
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