File: postrm

package info (click to toggle)
oidentd 2.0.7-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,072 kB
  • ctags: 938
  • sloc: ansic: 6,065; sh: 3,308; yacc: 369; lex: 334; makefile: 28
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#