File: postrm

package info (click to toggle)
oidentd 2.0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 840 kB
  • ctags: 505
  • sloc: ansic: 5,290; sh: 3,215; yacc: 364; lex: 335; makefile: 101
file content (16 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# post removal script for the Debian GNU/Linux oidentd package

set -e

if [ -x /usr/sbin/update-inetd ]; then
	if [ "$1" = "purge" ]; then
		update-inetd --pattern "oidentd" --remove ident
	fi

	if [ -x /usr/sbin/identd ]; then
		update-inetd --add "ident		stream	tcp	nowait	nobody	/usr/sbin/identd identd -i"
	fi
fi

#DEBHELPER#