🚧 utils: make sure that refind will mount as rw

This commit is contained in:
Vladislav Nepogodin 2024-07-25 03:17:22 +04:00
parent 6b3862f451
commit 335d519f8a
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -1088,7 +1088,7 @@ void install_refind() noexcept {
}
// Mount as rw
// sed -i 's/ro\ /rw\ \ /g' /mnt/boot/refind_linux.conf
gucc::utils::exec("sed -i 's/ro /rw /g' /mnt/boot/refind_linux.conf");
// Set appropriate rootflags if installed on btrfs subvolume
if (gucc::utils::exec_checked("mount | awk '$3 == \"/mnt\" {print $0}' | grep btrfs | grep -qv subvolid=5")) {