diff Makefile.am @ 174:da0c41b9f672

don't whitelist addresses with embedded spaces
author carl
date Sun, 23 Sep 2007 11:20:12 -0700
parents 5809bcdc325b
children a4d313c2460b
line wrap: on
line diff
--- a/Makefile.am	Thu Sep 06 09:50:05 2007 -0700
+++ b/Makefile.am	Sun Sep 23 11:20:12 2007 -0700
@@ -11,7 +11,7 @@
 	       sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl
 
 chkconfig: dnsbl
-	   /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl
+	   /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d $(sysconfdir)/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl >/dev/null
 	   mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
 	   mkdir $(sysconfdir)/dnsbl/autowhite
 	   chown dnsbl:root $(sysconfdir)/dnsbl/autowhite