Thread: DR800 view command output
View Single Post
Old 03-22-2010, 02:07 PM   #3
Mr. X
Connoisseur
Mr. X is on a distinguished road
 
Posts: 68
Karma: 64
Join Date: Mar 2010
Location: Philadelphia
Device: iRex DR800SG
Redirection does work, I uploaded a script that ran dmesg and a bunch of other commands in another thread. One thing to watch out for is filesystem write caching... In the emulator especially make sure to throw a 'sync' command in at the end or the writes never reach disk.

Also, remember that most standard commands are busybox not the normal unix variants... I'm not sure if mkdir supports -p for example... If you use the emulator you can ssh in and run your script and get useful feedback
Mr. X is offline   Reply With Quote