config is in libhesiod0 3.2.1-2.
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 25 26 27 28 29 | #!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
if [ -f /etc/hesiod.conf ]; then
. /etc/hesiod.conf || true
if [ "$lhs" ]; then
db_set hesiod/lhs $lhs
fi
if [ "$rhs" ]; then
db_set hesiod/rhs $rhs
fi
if [ "$classes" ]; then
db_set hesiod/classes $classes
fi
elif [ -f /etc/resolv.conf ]; then
rhs=`sed -n -e's/^[[:space:]]*search[[:space:]]\+\([^[:space:]]\+\)\([[:space:]]\+.*$\)*/\1/p' \
< /etc/resolv.conf | head -n 1`
if [ "$rhs" ]; then
if test "$rhs" = "mit.edu"; then
rhs=athena.mit.edu
fi
db_set hesiod/rhs ".$rhs"
fi
fi
db_input low hesiod/rhs || true
db_input low hesiod/lhs || true
db_input low hesiod/classes || true
db_go || true
|