View Single Post
stopgap's Avatar
Posts: 139 | Thanked: 135 times | Joined on Jan 2010 @ Cambridgeshire, UK
#46
Yeah, that'd be ideal to launch it when the network starts but I'm way out of my limited knowledge of linux here...

I took a look in if-up.d and saw there were some scripts in there. I tried to put my own in but it didn't seem to run. The others were named 00_something - maybe my test had a malformed naming for execution within that folder or perhaps I'm misunderstanding how that works... I can't find anything clear on this area on the web... What is there is linux specific - I'm not even sure if thats completely appropriate for all versions of linux, let alone maemo... I'm a Windows programmer so this is all rather unfamiliar to me to say the least!

Ideally I'd launch the monitor script with some handle, upon network up and then use the handle to terminate on network down (with the handle - if that's even how linux works?)

Any idea how, or does anyone know of any useful guides on this sort of stuff?

I sort of got it to auto-run on startup but something is not right and the script seems to freeze up or something, it stops working anyhow. I can see it running in HTOP still just doesn't seem to do anything.

Incidentally does anyone know how to use HTOP?... its functions use Fx keys and I'm not sure how you do that in a maemo console...