pkgsrc/security/openssh/INSTALL
2002-06-28 04:40:05 +00:00

37 lines
827 B
Text

# $NetBSD: INSTALL,v 1.7 2002/06/28 04:40:05 grant Exp $
DIRS="/etc /etc/ssh @PREFIX@/etc @PREFIX@/etc/ssh"
FILES="sshd.conf sshd_config"
if [ "${STAGE}" != "POST-INSTALL" ]; then
exit 0
fi
for dir in $DIRS; do
if [ "@PKG_SYSCONFDIR@" != "$dir" ]; then
for file in $FILES; do
path=$dir/$file
if [ -f $path ]; then
${CAT} <<EOF
===========================================================================
*===* NOTICE *===*
WARNING: previous configuration file $path found.
The config files for ${PKGNAME} must be located in:
@PKG_SYSCONFDIR@
You will need to ensure your configuration files and/or keys are
placed in the correct directory before using ${PKGNAME}.
===========================================================================
EOF
exit
fi
done
fi
done