Skip to content

Commit

Permalink
[enigma2.sh.in] Use build variables, not hard coded paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Dec 7, 2021
1 parent 3c9939f commit 247bac0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/enigma2.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ EOP
# enigma2 exits the logger exits too.
# We need to get the exit code from enigma2, not the logger
#
( LD_PRELOAD=$LIBS /usr/bin/enigma2 # run enigma2
( LD_PRELOAD=$LIBS @bindir@/enigma2 # run enigma2
xstat=$? # its exit code
echo # in case of mid-line crisis
echo $unem # marker to end logger
Expand Down Expand Up @@ -353,9 +353,9 @@ case $ret in
44)
# little hack but it will be fixed soon in drivers
/usr/lib/enigma2/python/Plugins/SystemPlugins/MICOMUpgrade/bin/fbclear
/usr/bin/showiframe /usr/lib/enigma2/python/Plugins/SystemPlugins/MICOMUpgrade/wait.mvi
@bindir@/showiframe /usr/lib/enigma2/python/Plugins/SystemPlugins/MICOMUpgrade/wait.mvi
echo fpupload >/proc/vfd && sleep 3 && dd bs=256k if=/tmp/micom.bin of=/dev/mcu
/usr/bin/showiframe /usr/lib/enigma2/python/Plugins/SystemPlugins/MICOMUpgrade/reboot.mvi
@bindir@/showiframe /usr/lib/enigma2/python/Plugins/SystemPlugins/MICOMUpgrade/reboot.mvi
# Wait forever for the user to power off
while(true) ; do sleep 60 ; done
;;
Expand Down

0 comments on commit 247bac0

Please sign in to comment.