diff options
author | jlam <jlam@pkgsrc.org> | 2000-05-02 23:41:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-05-02 23:41:11 +0000 |
commit | facbd1130662d2eb857b69d595f537e0e0e6321c (patch) | |
tree | 627011c4ac795b484e9400afb00416fde27670a6 /net/samba | |
parent | 3ea3ba4680eb1379a6c49287582fe3c6e7a956d2 (diff) | |
download | pkgsrc-facbd1130662d2eb857b69d595f537e0e0e6321c.tar.gz |
Be more informative when we create the private smbpasswd file. I got tired
of guessing whether or not a samba upgrade was overwriting my current
smbpasswd.
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/pkg/INSTALL | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/samba/pkg/INSTALL b/net/samba/pkg/INSTALL index b62bdb105cb..922c5e29af7 100644 --- a/net/samba/pkg/INSTALL +++ b/net/samba/pkg/INSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.1 2000/05/02 15:25:18 jlam Exp $ +# $NetBSD: INSTALL,v 1.2 2000/05/02 23:41:11 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -14,11 +14,13 @@ POST-INSTALL) mkdir -p ${SAMBA_PRIVATE} if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] then + echo -n "Creating ${SAMBA_PRIVATE}/smbpasswd..." chown -R root:wheel ${SAMBA_PRIVATE} cat /etc/passwd | ${PKG_PREFIX}/bin/mksmbpasswd.sh \ >${SAMBA_PRIVATE}/smbpasswd chmod 500 ${SAMBA_PRIVATE} chmod 600 ${SAMBA_PRIVATE}/smbpasswd + echo "done." fi ;; *) |