File: nsca.postrm

package info (click to toggle)
nsca 2.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: sh: 3,161; ansic: 2,351; perl: 195; makefile: 128
file content (10 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

if [ "$1" = "purge" ] ; then
	# to remain backwards-compatible with inetd and the like:
	if which update-inetd >/dev/null 2>&1; then
		update-inetd --remove '5667\t\tstream\ttcp\tnowait\tnagios\t/usr/sbin/tcpd\t/usr/sbin/nsca -c /etc/nsca.cfg -- inetd' || true
	fi
fi

#DEBHELPER#