Rev 9 | Details | Compare with Previous | 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 | |||
| 9 | magnus | 6 | if which update-inetd > /dev/null; then  | 
        
| 7 | if which identd > /dev/null; then  | 
        ||
| 3 | magnus | 8 | update-inetd --add "ident stream tcp nowait nobody /usr/sbin/identd identd -i"  | 
        
| 9 | fi  | 
        ||
| 10 | fi  | 
        ||
| 11 | |||
| 12 | if [ "$1" = purge ]; then  | 
        ||
| 9 | magnus | 13 | if which deluser > /dev/null; then  | 
        
| 3 | magnus | 14 | deluser --system --quiet oident  | 
        
| 15 | fi  | 
        ||
| 16 | fi  | 
        ||
| 17 | |||
| 18 | #DEBHELPER#  |