piPlayer wrote:
> I had the same Problem. My solution was to unsquash the pcp-jivelite.tcz
> package an change the original jivelite.sh file in the folder
> /opt/jivelite/bin/ like nowhinjing wrote in his tutorial. Then i
> resquashed the package and put it back to the Pi. In the
> do_rebootstuff.sh file i leave the path "sudo -E -b
> /opt/jivelite/bin/jivlite.sh >/dev/null 2>&1" like it was originaly.
> Then the startup works properly.
With the next release of picoreplayer you'll hopefully no longer have to
modify do_rebootstuff.sh or pcp-jivelite.tcz.
If /mnt/mmcblk0p2/tce/jivelite.sh exists do_rebootstuff.sh will run it
instead of /opt/jivelite/bin/jivlite.sh
Attached is the change I've been using in the next release for whenever
it's ready.
Code:
--------------------
--- do_rebootstuff.sh.orig
+++ do_rebootstuff.sh
@@ -664,7 +664,10 @@
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
fi
export HOME=/home/tc
- if [ -x /opt/jivelite/bin/jivelite.sh ]; then
+ if [ -x /mnt/mmcblk0p2/tce/jivelite.sh ]; then
+ echo "${GREEN}Done.${NORMAL}"
+ sudo -E -b /mnt/mmcblk0p2/tce/jivelite.sh >/dev/null 2>&1
+ elif [ -x /opt/jivelite/bin/jivelite.sh ]; then
echo "${GREEN}Done.${NORMAL}"
sudo -E -b /opt/jivelite/bin/jivelite.sh >/dev/null 2>&1
else
--------------------
+-------------------------------------------------------------------+
|Filename: tce-jivelite.patch.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23870|
+-------------------------------------------------------------------+
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=107366
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix