post_install() {
	/usr/bin/sed -e 's|/usr/bin/swat.*swat|&\nnntp stream  tcp nowait  news /usr/bin/tcpd /usr/bin/leafnode|' -i /etc/inetd.conf
}

post_remove() {
	/usr/bin/sed -e '/nntp stream  tcp nowait  news \/usr\/bin\/tcpd \/usr\/bin\/leafnode/d' -i /etc/inetd.conf
}

op=$1
shift
$op $*
