Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2003 13:56:45 -0400
From:      Jeff Walters <jeff@walters.name>
To:        jonc@mobiledatanow.com, dinoex@FreeBSD.org, cyrille.lefevre@laposte.net
Cc:        freebsd-ports@freebsd.org
Subject:   Setiathome startup script
Message-ID:  <200306071356.45552.jeff@walters.name>

next in thread | raw e-mail | index | archive | help
I grabbed your email addresses from messages having to do with the latest 
setiathome commit and maintainer and wasn't sure who best to contact.

I am still having a slight problem with the setiathome.sh startup script.  It 
tells me setiathome is already running when it isn't.  After doing some 
messing around manually with "ps axo command | egrep 
/usr/local/libexec/setiathome.bin" on the command line, I found that 
intermittently the egrep command itself appears in the ps output and causes a 
match, which apparently causes the problem.

Perhaps the ps output lines beginning with "egrep" can be removed with a 
pipeline like below?

if ps axo command | egrep -v ^egrep | egrep ${wrapper_path}; then

instead of 

if ps axo command | egrep ${wrapper_path}; then

Thanks,
Jeff Walters



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306071356.45552.jeff>