Date: Sat, 13 Oct 2012 20:25:36 +0200 From: Niclas Zeising <zeising@daemonic.se> To: Gabor Kovesdan <gabor@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r305843 - in head/security/amavisd-new: . files Message-ID: <5079B220.80206@daemonic.se> In-Reply-To: <201210131804.q9DI4vrq076263@svn.freebsd.org> References: <201210131804.q9DI4vrq076263@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/13/12 20:04, Gabor Kovesdan wrote: > > Modified: head/security/amavisd-new/files/amavisd.in > ============================================================================== > --- head/security/amavisd-new/files/amavisd.in Sat Oct 13 17:48:41 2012 (r305842) > +++ head/security/amavisd-new/files/amavisd.in Sat Oct 13 18:04:57 2012 (r305843) > @@ -36,8 +36,8 @@ if [ ${amavisd_ram} ];then > echo "WARNING: using ramdisk is reported to be unstable and" > echo "thus it is highly recommended to be turned off." > echo "========================================================" > - df %%AMAVISDIR%%/tmp | grep '^/dev/md'> /dev/null > - if [ $? -eq 1 ];then > + df /var/amavis/tmp | grep -E '^(/dev/md|tmpfs)'> /dev/null ^^^^^^^^^^^^^^^ Was this intentional? It seems like it would break things for people using a different directory for amavisd related things. > + if [ $? -eq 1 ]; then > mdmfs -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true > fi > fi Regards! -- Niclas Zeising
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5079B220.80206>