#!/bin/sh
#
#ident	"@(#)i.sshdconfig	1.2	04/04/14 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

SSHDTMP=${PKG_INSTALL_ROOT:-/}/etc/ssh/sshdtmp.$$

PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH

while read src dest
do
	if [ ! -f $dest ] ; then
		cp $src $dest
	else
		sed -e "/^CheckMail /d" $dest > $SSHDTMP
		cp $SSHDTMP $dest
		rm -f $SSHDTMP
	fi
done
exit 0
