prepare the lets be a superserver release.
[packages/xinetd.git] / debian / xinetd.postinst
1 #!/bin/sh -e
2
3 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
4     invoke-rc.d xinetd stop
5 elif [ -x /etc/init.d/xinetd ]; then
6     /etc/init.d/xinetd stop >&2
7 else
8     start-stop-daemon --quiet --stop --signal 3 --oknodo --exec /usr/sbin/xinetd
9 fi
10
11 #DEBHELPER#