mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-07-01 17:09:47 +00:00
Add PATH variables /opt/bin and /opt/sbin if overlayfs is used
This commit is contained in:
parent
6bf18cda17
commit
edd79b546a
@ -15,6 +15,10 @@ export LD_LIBRARY_PATH=/opt/wz_mini/lib:/thirdlib:$LD_LIBRARY_PATH
|
||||
export TERMINFO=/opt/wz_mini/usr/share/terminfo
|
||||
export TERM=xterm-color
|
||||
|
||||
if df / | grep -q overlayfs; then
|
||||
export PATH=/opt/bin:/opt/sbin:$PATH
|
||||
fi
|
||||
|
||||
/opt/wz_mini/bin/busybox resize
|
||||
|
||||
#export TZ=UTC-8
|
||||
|
Loading…
x
Reference in New Issue
Block a user