#!/bin/sh -e if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d xinetd stop elif [ -x /etc/init.d/xinetd ]; then /etc/init.d/xinetd stop fi if [ "$1" = "remove" ]; then echo "Note: all inetd services have been terminated." fi # Automatically added by dh_installinit if [ -x "/etc/init.d/xinetd" ] && [ "$1" = remove ]; then invoke-rc.d xinetd stop || exit $? fi # End automatically added section