fixes init script for non ipv6 enabled systems #472755
[packages/xinetd.git] / debian / xinetd.prerm
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
7 fi
8
9 if [ "$1" = "remove" ]; then
10     echo "Note: all inetd services have been terminated."
11 fi
12
13 #DEBHELPER#