summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh
Commit message (Collapse)AuthorAgeFilesLines
* trousers: make initscript more reliableAndré Draszik2017-11-061-2/+4
| | | | | | | | | | | | | | | | | | | The combination of using start-stop-daemon and pidof is not working reliably in all cases. Sometimes, the tcsd daemon isn't running yet at the time pidof is being invoked. This results in an empty /var/run/tcsd.pid, making it impossible to stop tcsd using the init script. To solve this, one could either add a delay before calling pidof, or alternatively use start-stop-daemon's built-in functionality to achieve the same. Let's do the latter. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm: move to a sub layerArmin Kuster2017-05-141-0/+65
Signed-off-by: Armin Kuster <akuster808@gmail.com>