triggerhappy: don't test if the binary exists in the init script
authorCarlos Santos <casantos@datacom.ind.br>
Mon, 16 Apr 2018 02:29:42 +0000 (23:29 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 16 Apr 2018 05:35:02 +0000 (07:35 +0200)
commit150327e7fc492e40233e74533ee8a282a6662346
tree95c04565d43445fc6499afc476d6ae5cb88d3a6a
parent296f148c15e8eac85a41b33558d879591663b2ed
triggerhappy: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/triggerhappy/S10triggerhappy