File: postrm

package info (click to toggle)
oidentd 2.0.8-1.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,156 kB
  • ctags: 931
  • sloc: ansic: 6,276; sh: 3,427; yacc: 370; lex: 335; makefile: 45
file content (18 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# post removal script for the Debian GNU/Linux oidentd package

set -e

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

if [ "$1" = purge ]; then
	if [ -x /usr/sbin/deluser ]; then
		/usr/sbin/deluser --system --quiet oident
	fi
fi

#DEBHELPER#