Hi all, I have an animation which plays during boot. I added a kill command with the PID to the startup scripts, but as the PID is subject to change it's not always reliable. I am looking for a way to find the PID automatically and kill the process, here is what I have so far:
ps | grep "fbmngplay" | cut -b 1-5 > fbm
Now I need to find a way to get the information from the file "fbm" to the kill command, but how? Also, if anyone knows a better way to achieve this, that would also be appreciated, thanks.