aboutsummaryrefslogtreecommitdiff
path: root/net/samba3
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-09-03 13:55:16 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-09-03 13:55:16 +0000
commitfb5ee205bfd6f6c793fd525416787a9a5df5bd3b (patch)
tree5f19337f316a1addf762385f7795148671bf04aa /net/samba3
parentb8b5c9c595c8bb5e548a1f1df1314848fc774436 (diff)
downloadports-fb5ee205bfd6f6c793fd525416787a9a5df5bd3b.tar.gz
ports-fb5ee205bfd6f6c793fd525416787a9a5df5bd3b.zip
Notes
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 a7ba0a4d78c7..5080bdef450a 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}