mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-03 13:12:44 +02:00
Fix library path (#392)
* Merge * Fix LD_LIBRARY_PATH * Fix LD_LIBRARY_PATH
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
PIDFILE="/run/v4l2rtspserver-master-h264.pid"
|
||||
LOGDIR="/system/sdcard/log"
|
||||
LOGPATH="$LOGDIR/v4l2rtspserver-master.log"
|
||||
export LD_LIBRARY_PATH='/thirdlib:/system/lib:/system/sdcard/lib/'
|
||||
export LD_LIBRARY_PATH='/system/sdcard/lib/:/thirdlib:/system/lib'
|
||||
|
||||
if [ ! -f /system/sdcard/config/rtspserver.conf ]; then
|
||||
cp /system/sdcard/config/rtspserver.conf.dist /system/sdcard/config/rtspserver.conf
|
||||
|
@@ -2,7 +2,7 @@
|
||||
PIDFILE="/run/v4l2rtspserver-master-mjpeg.pid"
|
||||
LOGDIR="/system/sdcard/log"
|
||||
LOGPATH="$LOGDIR/v4l2rtspserver-master.log"
|
||||
export LD_LIBRARY_PATH='/thirdlib:/system/lib'
|
||||
export LD_LIBRARY_PATH='/system/sdcard/lib:/thirdlib:/system/lib'
|
||||
|
||||
if [ ! -f /system/sdcard/config/rtspserver.conf ]; then
|
||||
cp /system/sdcard/config/rtspserver.conf.dist /system/sdcard/config/rtspserver.conf
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
export LD_LIBRARY_PATH='/system/sdcard/lib/:/thirdlib:/system/lib'
|
||||
|
||||
CONFIGPATH="/system/sdcard/config"
|
||||
LOGDIR="/system/sdcard/log"
|
||||
LOGPATH="$LOGDIR/startup.log"
|
||||
|
Reference in New Issue
Block a user