projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6b8704
)
tools/enigma2.sh.in: add support for libpassthrough, add hook to execute scripts...
author
ghost
<andreas.monzner@multimedia-labs.de>
Wed, 16 Feb 2011 22:14:04 +0000
(23:14 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Wed, 16 Feb 2011 22:16:37 +0000
(23:16 +0100)
tools/enigma2.sh.in
patch
|
blob
|
history
diff --git
a/tools/enigma2.sh.in
b/tools/enigma2.sh.in
index
a19e673
..
5914c3f
100755
(executable)
--- a/
tools/enigma2.sh.in
+++ b/
tools/enigma2.sh.in
@@
-7,11
+7,23
@@
if [ -x @bindir@/showiframe -a -f /boot/backdrop.mvi ]; then
@bindir@/showiframe /boot/backdrop.mvi
fi
@bindir@/showiframe /boot/backdrop.mvi
fi
+# hook to execute scripts always before enigma2 start
+if [ -x @bindir@/enigma2_pre_start.sh ]; then
+ @bindir@/enigma2_pre_start.sh
+fi
+
if [ -d /home/root ]; then
cd /home/root
fi
if [ -d /home/root ]; then
cd /home/root
fi
-LD_PRELOAD=@libdir@/libopen.so.0.0.0 @bindir@/enigma2
+LIBS=@libdir@/libopen.so.0.0.0
+
+#check for dreambox specific passthrough helper lib
+if [ -e @libdir@/libpassthrough.so ]; then
+ LIBS="$LIBS @libdir@/libpassthrough.so"
+fi
+
+LD_PRELOAD=$LIBS @bindir@/enigma2
# enigma2 exit codes:
#
# enigma2 exit codes:
#