This file is indexed.

postrm is in freeradius-dhcp 3.0.16+dfsg-1ubuntu3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# vim:ts=2:sw=2:et

set -e

case "$1" in
  purge)
    # Remove dangling links from mods-enabled.
    for link in /etc/freeradius/3.0/mods-enabled/dhcp; do
      if [ -L "$link" ] && [ ! -e "$link" ]; then
        rm -f "$link"
      fi
    done

    # rmdir fails when called on a directory which does not exist
    if [ -d /etc/freeradius ]; then
      rmdir --ignore-fail-on-non-empty /etc/freeradius
    fi
    ;;
esac



exit 0