Extra logging when installing mesh
This commit is contained in:
parent
b68472e6a6
commit
49051465e7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue