View Single Post
Old 12-12-2008, 02:15 AM   #5
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Quote:
Originally Posted by ericshliao View Post
I would like to suggest a small modification:
just replace the line in /home/root/.start.sh:
Code:
/usr/bin/displayMgr -p &
with:
Code:
if [-f /media/card/mybootscript.sh ]; then
    . /media/card/mybootscript.sh
else
    /usr/bin/displayMgr -p &
fi
And put all customized boot sequence in /media/card/mybootscript.sh. xepdmgr and other non-official binaries can put in SD, too.
Hi Ericshliao,
= The Idea it to only make a small change to start.sh, and then leave it alone. Personally I'm experimenting with contentLister. If you change it often for different things, you'll end up by making a 'fatal' mistake as I did earlier yesterday
= The -f test will not work. The removable devices are not yet mounted at that stage. The hotplug stuff is at the *end* of start.sh. That's why I put those start scripts in the main file system...
hansel is offline   Reply With Quote