View Single Post
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#105
Originally Posted by ndi View Post
It says ps: invalid option -- e

This is a good time to mention I have the updated busybox. PS is different, it only takes -w. I could have sworn it did this before, but I can't really test.

May I ask why you don't simply ps | grep "/python /opt/zap"? What does e do in the original?
Nothing, methinks.

The particular "ps | grep" line I use was found by the epic art of googling (a hairy "ps | grep | awk" thing that spits out a list of pid's I can consume and kill), and it seems to originate from some *nix variant where -e meant something. Original Maemo seems to ignore it, and the thing works fine without it, so I'm removing it.

Thanks for finding that!!

/Z
 

The Following User Says Thank You to MasterZap For This Useful Post: