Quote:
Originally Posted by ericshliao
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...