config is in irqbalance 1.1.0-2ubuntu1.
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
set -e
. /usr/share/debconf/confmodule
db_version 2.0
CONF=/etc/default/irqbalance
if test -e $CONF; then
. $CONF || true
if [ "$ENABLED" = "1" ]; then
db_set irqbalance/enable true
else
db_set irqbalance/enable false
fi
if [ "$ONESHOT" = "1" ]; then
db_set irqbalance/oneshot true
else
db_set irqbalance/oneshot false
fi
fi
db_input low irqbalance/enable || true
db_input medium irqbalance/oneshot || true
db_go || true
exit 0
|