[mythtv-users] OT - FC3 problems following Jarod's Guide
fenn at stanford.edu
Tue Mar 22 01:35:51 UTC 2005
On Mon, Mar 21, 2005 at 07:20:23PM -0600, Meatwad wrote:
> Shaun Sandlin wrote:
> >I'm a bit of a newb...can you tell how to kill MTD please.
> Certainly. I'm fairly new myself.
> # ps -A | grep mtd
> If mtd *is* running, it will have it's process number will be to the
> left like this...
Just use pidof.
A handy trick thats useful for scripts and the like (instead of having
to do all the ps -A | grep | grep -v ps mumbo-jumbo):
if [ $(pidof mtd) ]; then
kill $(pidof mtd)
for i in $(pidof mythfrontend) ]; do
Morals? I eat communism and $h!t America, brother. --Seanbaby
More information about the mythtv-users