Browse Source

[read-only][issue #25] ajout de /var/lib/{ntp,pyheatpump} dans les dossier à mettre dans le tmpfs

Maxime Alves LIRMM@home 3 years ago
parent
commit
84f9045c2b
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      config/read-only-fs.sh

+ 2
- 0
config/read-only-fs.sh View File

216
 replace /etc/fstab "ext4\s*defaults,noatime\s" "ext4    defaults,noatime,ro "
216
 replace /etc/fstab "ext4\s*defaults,noatime\s" "ext4    defaults,noatime,ro "
217
 append1 /etc/fstab "/var/log" "tmpfs /var/log tmpfs nodev,nosuid 0 0"
217
 append1 /etc/fstab "/var/log" "tmpfs /var/log tmpfs nodev,nosuid 0 0"
218
 append1 /etc/fstab "/var/tmp" "tmpfs /var/tmp tmpfs nodev,nosuid 0 0"
218
 append1 /etc/fstab "/var/tmp" "tmpfs /var/tmp tmpfs nodev,nosuid 0 0"
219
+append1 /etc/fstab "/var/lib/ntp" "tmpfs /var/tmp tmpfs nodev,nosuid 0 0"
220
+append1 /etc/fstab "/var/lib/pyheatpump" "tmpfs /var/tmp tmpfs nodev,nosuid 0 0"
219
 append1 /etc/fstab "/run" "tmpfs /var/run tmpfs nodev,nosuid 0 0"
221
 append1 /etc/fstab "/run" "tmpfs /var/run tmpfs nodev,nosuid 0 0"
220
 append1 /etc/fstab "\s/tmp"   "tmpfs /tmp    tmpfs nodev,nosuid 0 0"
222
 append1 /etc/fstab "\s/tmp"   "tmpfs /tmp    tmpfs nodev,nosuid 0 0"
221
 
223
 

Loading…
Cancel
Save