summaryrefslogtreecommitdiffstats
path: root/net/samba3
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba3')
-rw-r--r--net/samba3/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index a7ba0a4..5080bde 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -96,7 +96,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}
OpenPOWER on IntegriCloud