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