diff options
Diffstat (limited to 'infest')
-rwxr-xr-x | infest/etc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -32,3 +32,15 @@ echo 'krebs:x:0:' >>$f for i in etc/*; do cat $i > /$i done + +# TMPFS for tmp and log + +if [ ! "`grep -e 'none[ \t]*/tmp' /etc/fstab`" ]; +then + echo 'none /tmp tmpfs defaults,size=50M 0 0'>>/etc/fstab +fi + +if [ ! "`grep -e 'none[ \t]*/var/log' /etc/fstab`" ]; +then + echo 'none /var/log tmpfs defaults,size=50M 0 0'>>/etc/fstab +fi |