svn commit: r305843 - in head/security/amavisd-new: . files

Niclas Zeising zeising at daemonic.se
Sat Oct 13 18:25:43 UTC 2012


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


More information about the svn-ports-all mailing list