enigma2.sh: use /usr/share/backdrop.mvi instead of /boot/backdrop.mvi
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 22 Feb 2011 17:53:28 +0000 (18:53 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 22 Feb 2011 17:53:28 +0000 (18:53 +0100)
tools/enigma2.sh.in

index 5914c3f87036e7cffceb8153332c4977427bec0a..2f9292a444126644e1bedde84717c0a0d6178e8f 100755 (executable)
@@ -2,9 +2,10 @@
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
+datarootdir=@datarootdir@
 
 
-if [ -x @bindir@/showiframe -a -f /boot/backdrop.mvi ]; then
-       @bindir@/showiframe /boot/backdrop.mvi
+if [ -x @bindir@/showiframe -a -f @datadir@/backdrop.mvi ]; then
+       @bindir@/showiframe @datadir@/backdrop.mvi
 fi
 
 # hook to execute scripts always before enigma2 start
 fi
 
 # hook to execute scripts always before enigma2 start