To: | |
---|---|
Subject: | [ts-7000] Conditional Read or Control-C Cancel Script in Busybox Boot |
From: | "eric.robishaw" <> |
Date: | Sat, 28 Nov 2009 16:32:04 -0000 |
I have a script that runs on startup of busybox on the SD card. I need to allow the user to abort the script... i.e., : "Press a key in the next 10 seconds to abort this script" A timed-out Read (read -t 10) would be ideal but that's not supported in busybox linux. I'd be happy with "Press Control-C to abort this script" but Ctrl-C doesn't stop the script. Even tried to trap it: trap bashtrap INT bashtrap() { exit } But that doesn't work either. The script is being executed in linuxrc-sdroot: /lbin/tsinitnfs < $CONSOLE > $CONSOLE Any ideas? ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [ts-7000] Re: USB Wifi, Jason Stahls |
---|---|
Next by Date: | Re: [ts-7000] Conditional Read or Control-C Cancel Script in Busybox Boot, Frank |
Previous by Thread: | [ts-7000] dhcp on TS-7200, craignied |
Next by Thread: | Re: [ts-7000] Conditional Read or Control-C Cancel Script in Busybox Boot, Frank |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU