05-04-2007, 10:54 AM | #1 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
"Extra"-Unbrickable -- A supplement
I really like hudson's "Unbrickable" mod, which starts the dropbear ssh server on iLiad boot and allows access even if the GUI doesn't work. In addition to that, I felt I needed a little extra unbrick insurance for development work, and I came up with this.
I put the original start.sh in /home/root/.start/start.sh, and put a testing start script in /home/root/.start/testing.sh. Then, I wrote a new start script in /home/root/start.sh that looks like this: Code:
#!/bin/sh if [ ! -e /home/root/.start/flagBootTesting ] then . /home/root/.start/start.sh else rm /home/root/.start/flagBootTesting . /home/root/.start/testing.sh fi If you look at testing.sh, you'll note that it runs the new executable Xfbdev.test, while start.sh still runs the original executable Xfbdev. I should probably have put Xfbdev.test in another directory, like /mnt/free/test or something. Obviously the point is to minimize changes to the original system. For obvious reasons, I recommend
(Cross-posted to iRex Forums) This attachment could be unzipped directly into /home/root on your iLiad, but you should probably just look at the contents and do it by hand. Last edited by jharker; 05-04-2007 at 11:27 AM. Reason: Added link to hudson's Unbrickable mod, added statement of usefulness; mild editing for readability. |
05-04-2007, 12:11 PM | #2 |
Stunt Programmer
Posts: 31
Karma: 449
Join Date: Mar 2007
Location: Washington, DC
Device: iRex iLiad, Sony PRS500, Treo 650
|
That's a good idea for one-shot tests where you want the entire system to come up as if it were a real boot.
For my Xfbdev / Kdrive tests I've just logged in over the ethernet and done a 'killall Xfbdev' and started my new one by hand with my own applications and window manager running in place of their contentLister. |
Advert | |
|
05-04-2007, 12:17 PM | #3 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Nice. Yes, you're right, this is best for full-boot tests. Or if (like me) you don't know what processes to kill and what to keep.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Settings," then "311" - Int'l Kindle searches for wireless providers in the area | Dr. Drib | Amazon Kindle | 2 | 08-28-2011 10:27 AM |
Yep. It's official. Sony Reader has "ruined" books for me. A final "review." | WilliamG | Sony Reader | 48 | 01-14-2011 03:49 AM |
PRS-650 Extra Mounted Volume "Setting" | slantybard | Sony Reader | 12 | 09-23-2010 03:51 AM |
using "Extra CSS" box | RedRoverJ | Calibre | 4 | 06-25-2010 07:08 PM |
"Zeit-Odyssee"-Trilogie droht das "dunkle Turm"-Schicksal | ThR | E-Books | 4 | 02-10-2010 05:18 AM |