prepare upload
[packages/xinetd.git] / debian / xinetd.prerm
1 #!/bin/sh -e
2 # xinetd prerm
3
4 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
5   invoke-rc.d xinetd stop
6 elif [ -x /etc/init.d/xinetd ]; then
7   /etc/init.d/xinetd stop
8 fi
9
10 if [ "$1" = "remove" ]; then
11   echo "Note: all inetd services have been terminated."
12 fi
13
14 #DEBHELPER#