File: prerm

package info (click to toggle)
pidentd 3.0.7-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 648 kB
  • ctags: 585
  • sloc: ansic: 6,162; sh: 1,834; makefile: 142
file content (11 lines) | stat: -rw-r--r-- 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
# $Id: prerm,v 1.4 1999/09/17 01:08:40 herbert Exp $

# If netbase is not installed, then we don't need to do the remove.
if command -v update-inetd >/dev/null 2>&1; then
        update-inetd --pattern /usr/sbin/identd --disable ident
fi

kill `cat /var/run/identd/identd.pid 2>/dev/null` 2>/dev/null || true

#DEBHELPER#