Skip to content
Snippets Groups Projects
Commit 49051465 authored by Bob Mottram's avatar Bob Mottram
Browse files

Extra logging when installing mesh

parent b68472e6
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,7 @@ function create_ram_disk {
if ! grep -q "ramdisk" /etc/fstab; then
mount -t tmpfs -o size=${ramdisk_size_mb}m tmpfs /mnt/ramdisk
echo "tmpfs /mnt/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=${ramdisk_size_mb}M 0 0" >> /etc/fstab
echo $"${ramdisk_size_mb}M ramdisk created for /tmp" >> $INSTALL_LOG
fi
}
......@@ -113,6 +114,7 @@ function make_root_read_only {
if [ ! -d /home/$MY_USERNAME/Desktop ]; then
if ! grep 'ro,subvol=@' /etc/fstab; then
sed -i 's|subvol=@|ro,subvol=@|g' /etc/fstab
echo $'Root filesystem set to read only' >> $INSTALL_LOG
fi
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment