Rev 9 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | magnus | 1 | #!/bin/sh |
2 | # post removal script for the Debian GNU/Linux oidentd package |
||
3 | |||
4 | set -e |
||
5 | |||
6 | if [ -x /usr/sbin/update-inetd ]; then |
||
7 | if [ -x /usr/sbin/identd ]; then |
||
8 | update-inetd --add "ident stream tcp nowait nobody /usr/sbin/identd identd -i" |
||
9 | fi |
||
10 | fi |
||
11 | |||
12 | if [ "$1" = purge ]; then |
||
13 | if [ -x /usr/sbin/deluser ]; then |
||
14 | deluser --system --quiet oident |
||
15 | fi |
||
16 | fi |
||
17 | |||
18 | #DEBHELPER# |