config is in powstatd 1.5.1-9.1.
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 | #!/bin/sh -e
action=$1
version=$2
test -f /etc/powstatd.conf || exit 0
if grep -q "slave" /etc/powstatd.conf || ! grep -q "watch .*tty" /etc/powstatd.conf && ! grep -q "password" /etc/powstatd.conf; then
. /usr/share/debconf/confmodule
db_input high powstatd/cryptpassword || true
db_go || true
fi
exit 0
|