-# divert inetd's init script
-dpkg-divert --package xinetd --add --rename \
- --divert /etc/init.d/inetd.real /etc/init.d/inetd >&2
-
-# make dummy /etc/init.d/inetd file
-cat <<%EOF% >/etc/init.d/inetd
-#!/bin/sh
-
-# /etc/init.d/inetd has been diverted by the xinetd package.
-# The inetd service is provided by xinetd, which means inetd
-# doesn't need to be run.
-#
-# See /etc/init.d/xinetd, or /etc/init.d/inetd.real.
-
-exit 0
-%EOF%
-chmod 755 /etc/init.d/inetd
-