On 07.11.2012 23:22, Aníbal Monsalve Salazar wrote: > diff -Nru irqbalance-1.0.3/debian/irqbalance.init irqbalance-1.0.3/debian/irqbalance.init > --- irqbalance-1.0.3/debian/irqbalance.init 2012-06-16 13:02:33.000000000 +1000 > +++ irqbalance-1.0.3/debian/irqbalance.init 2012-11-08 08:20:01.000000000 +1100 > @@ -70,7 +70,7 @@ > rm -f $PIDFILE > > start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $OPTIONS $DOPTIONS > - pidofproc $PNAME > $PIDFILE > + pidofproc $PNAME > $PIDFILE || ps aux | grep $PNAME$ | sed "s/^root *//;s/ .*//" > $PIDFILE Srsly? I hope this is a joke... Looking through the irqbalance.c sources, the daemon already writes a pidfile via the -pid command line option. Why do you even need to mess around with the pid file in such a horrible way? Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature