summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2000-05-02 23:41:11 +0000
committerjlam <jlam>2000-05-02 23:41:11 +0000
commit3d45d108849eeba59346045db6fdae1dce155817 (patch)
tree627011c4ac795b484e9400afb00416fde27670a6
parentbcca6278e3c5b6485dc6361e1cef3f2e13872ce3 (diff)
downloadpkgsrc-3d45d108849eeba59346045db6fdae1dce155817.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.
-rw-r--r--net/samba/pkg/INSTALL4
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
;;
*)