6 if [ ! -f "/etc/init.d/inetd.real" ]; then
8 echo "WARNING: you don't have an init script for the original"
9 echo "inetd anymore! You may need to reinstall the netkit-inetd"
10 echo "package to get it back."
13 rm -f /etc/init.d/inetd
14 dpkg-divert --package xinetd --remove --rename --divert \
15 /etc/init.d/inetd.real /etc/init.d/inetd
16 if [ -f "/etc/init.d/inetd.real" ]; then
17 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
18 invoke-rc.d inetd start
19 elif [ -x /etc/init.d/inetd ]; then
20 /etc/init.d/inetd start
25 rm -f /etc/xinetd.conf*
26 rm -f /etc/default/xinetd