File: pidentd.prerm

package info (click to toggle)
pidentd 3.0.19.ds1-8
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,060 kB
  • ctags: 790
  • sloc: ansic: 7,070; sh: 2,681; makefile: 173; xml: 55
file content (12 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

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

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

#DEBHELPER#