diff Makefile.am @ 155:a76a6af7ed8b

add auto whitelisting
author carl
date Sat, 07 Jul 2007 21:39:45 -0700
parents 8d7c439bb6fa
children 97d7da45fe2a
line wrap: on
line diff
--- a/Makefile.am	Sat Jul 07 21:24:38 2007 -0700
+++ b/Makefile.am	Sat Jul 07 21:39:45 2007 -0700
@@ -13,7 +13,7 @@
 	       sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl
 
 chkconfig: dnsbl
-	   /usr/bin/getent passwd dnsbl || /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 /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl
 	   mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
 	   mkdir $(sysconfdir)/dnsbl/autowhite
 	   chown dnsbl:root $(sysconfdir)/dnsbl/autowhite