OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: gilkyboy on March 30, 2007, 04:41:58 pm
-
I have a zaurus 5600, and I have a script I want to run when I put my SD card into it. I'm really not sure what files I would need to hack away at and what I would need to add to them. If any of you can help me, I would greatly appreciate it. Thanks in advance,
Gilkyboy
-
Do you mean that you want your Z to automatically run a particular script every time you insert an SD card?
I think it would slow your Z down a lot because, from what I know, you'd have to write a script to run as a cron or at job every so often that respawned another one at a specified interval. Maybe somebody has some better ideas. The other thing to do I guess would be to write a script that looped infinitely, including a sleep, and if it detected the SD card, have it call your script, and then have it loop until you eject the card and then start over looking for another insertion.
Why not just run the script from the command line after you insert the card?
sdjf