pkg://ckermit_211-5_mips.deb:1680420/postinst
info downloads
#!/bin/sh -e
. /usr/share/debconf/confmodule
anon='off'
prefix='#<off>#'
dir='/home/ftp'
inetdentry='kermit stream tcp nowait root /usr/sbin/tcpd /usr/sbin/iksd'
iksd_args='-A --initfile:/etc/kermit/iksd-anon.conf --dbfile:/var/run/iksd.db --syslog:5'
if [ "$1" = "configure" ]
then
db_get ckermit/iksd || true
if [ "$RET" = true ]
then
prefix=""
db_get ckermit/iksd-anon || true
if [ "$RET" = true ]
then
anon="on"
db_get ckermit/iksd-anondir || true
dir="$RET"
fi
fi
iksd_args="$iksd_args --root:$dir --anonymous:$anon"
update-inetd --remove "kermit"
update-inetd --add "$prefix$inetdentry $iksd_args"
fi
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
exit 0