]> piware.de Git - bin.git/commitdiff
postinst-setup: mount /tmp as tmpfs
authorMartin Pitt <martin@piware.de>
Sun, 6 Oct 2013 18:27:33 +0000 (20:27 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 6 Oct 2013 18:27:33 +0000 (20:27 +0200)
postinst-setup

index c37300e5ebd693acd3913475a4b22957478aafbc..393ef446a2efd5043a4779900d71654cd023e466 100755 (executable)
@@ -28,6 +28,7 @@ if [ ! -d /etc/.bzr ]; then
     chmod 700 /etc/ssl/private
     chmod 640 /etc/ssl/private/ssl-cert-*
     chown root:ssl-cert /etc/ssl/private/ssl-cert*
+    echo "none /tmp tmpfs defaults 0 0" >> /etc/fstab
 fi
 
 # update postfix for new configuration