#! /bin/sh
# pre install script for the Debian GNU/Linux efingerd package

set -e
update-inetd --disable --comment-chars '#<efingerd># ' finger
update-inetd --group INFO --add 'finger		stream	tcp	nowait	nobody	/usr/sbin/tcpd	/usr/sbin/efingerd'

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/efingerd -a -d /usr/share/doc/efingerd ]; then
		ln -sf ../share/doc/efingerd /usr/doc/efingerd
	fi
fi
# End automatically added section
