1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00
This commit is contained in:
Alon Ganon 2017-05-26 04:20:51 +00:00 committed by GitHub
commit c0719016b8

View File

@ -47,6 +47,9 @@ if [ -n "$MOUNTED_TMP_AS_NO_EXEC" ]; then
exit
fi
#make sure that shared memory is secured
grep -q -F 'tmpfs /run/shm tmpfs defaults,noexec,nosuid 0 0' /etc/fstab || echo 'tmpfs /run/shm tmpfs defaults,noexec,nosuid 0 0' >> /etc/fstab
# Check that no .wgetrc exists
if [ -e ~/.wgetrc ]; then
echo "Mail-in-a-Box expects no overrides to wget defaults, ~/.wgetrc exists"