|
@@ -208,11 +208,6 @@ rm /etc/resolv.conf
|
208
|
208
|
ln -s /tmp/dhcpcd.resolv.conf /etc/resolv.conf
|
209
|
209
|
|
210
|
210
|
# Make edits to fstab
|
211
|
|
-# make / ro
|
212
|
|
-# tmpfs /var/log tmpfs nodev,nosuid 0 0
|
213
|
|
-# tmpfs /var/tmp tmpfs nodev,nosuid 0 0
|
214
|
|
-# tmpfs /tmp tmpfs nodev,nosuid 0 0
|
215
|
|
-replace /etc/fstab "vfat\s*defaults\s" "vfat defaults,ro "
|
216
|
211
|
replace /etc/fstab "ext4\s*defaults,noatime\s" "ext4 defaults,noatime,ro "
|
217
|
212
|
cat << EOF >> /etc/fstab
|
218
|
213
|
tmpfs /var/log tmpfs nodev,nosuid 0 0
|