diff options
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index d2d4aebe501e..8732a1a0cd6d 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -70,7 +70,7 @@ post-install: fi ${CHMOD} 700 ${SAMBA_PRIVATE} if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] ; then \ - ${CAT} /etc/passwd | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd ; \ + ${CAT} /etc/passwd | ${GREP} -v "^#" | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd ; \ ${CHMOD} 600 ${SAMBA_PRIVATE}/smbpasswd ; \ fi ${CHMOD} 500 ${SAMBA_PRIVATE} |