OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 5600 - Run A Script On Sd Insertion, 5600 - Run a Script on SD insertion
gilkyboy
post Mar 30 2007, 12:41 PM
Post #1





Group: Members
Posts: 4
Joined: 27-January 04
Member No.: 1,560



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
Go to the top of the page
 
+Quote Post
sdjf
post Apr 1 2007, 09:27 AM
Post #2





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2014 - 07:35 AM