Skip to content

Commit

Permalink
recovery: add LD_LIBRARY_PATH env. var to support TWRP recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Apr 5, 2012
1 parent 777b267 commit 5556fa6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootmenu/script/recovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

source /system/bootmenu/script/_config.sh

export LD_LIBRARY_PATH=.:/sbin

######## Main Script

## /tmp folder can be a link to /data/tmp, bad thing !
Expand Down
3 changes: 3 additions & 0 deletions bootmenu/script/recovery_stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
######## BootMenu Script
######## Execute [Stable Recovery] Menu

source /system/bootmenu/script/_config.sh

export PATH=/sbin:/system/xbin:/system/bin

export LD_LIBRARY_PATH=.:/sbin

######## Main Script

PART_DATA=/dev/block/mmcblk1p25
Expand Down

0 comments on commit 5556fa6

Please sign in to comment.