Package: irqbalance
Severity: wishlist
Tag: patch
Version: 0.55+20091017-5
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch
Hi,
It could be interesting to add a debconf question to be able to
enable/disable irqbalance at boot time.
Please see:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/573657
Regards
Laurent Bigonville
--- /home/jk/irqbalance.config 2010-05-02 15:04:51.000000000 +0200
+++ irqbalance.config 2010-05-02 15:05:13.000000000 +0200
@@ -10,7 +10,7 @@
if test -e $CONF; then
. $CONF || true
- db_set irqbalance/enable ENABLE
+ db_set irqbalance/enable ENABLED
db_set irqbalance/oneshot ONESHOT
fi
--- /home/jk/irqbalance.postinst 2010-05-02 15:02:10.000000000 +0200
+++ irqbalance.postinst 2010-05-02 15:04:01.000000000 +0200
@@ -32,7 +32,7 @@
ONESHOT="0"
fi
cp -a -f $CONF $CONF.tmp
- sed -e "s/^ *ENABLE=.*/ENABLE=\"$ENABLE\"/" \
+ sed -e "s/^ *ENABLED=.*/ENABLED=\"$ENABLE\"/" \
-e "s/^ *ONESHOT=.*/ONESHOT=\"$ONESHOT\"/" \
< $CONF > $CONF.tmp
mv -f $CONF.tmp $CONF