| Current Path : /proc/8644/root/proc/self/root/var/lib/dpkg/info/ |
| Current File : //proc/8644/root/proc/self/root/var/lib/dpkg/info/xinetd.prerm |
#!/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
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d xinetd stop || exit $?
else
/etc/init.d/xinetd stop || exit $?
fi
fi
# End automatically added section