fix redirection for ash
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
MODDIR=${0%/*}
|
MODDIR=${0%/*}
|
||||||
|
|
||||||
# load variables
|
# load variables
|
||||||
. $MODDIR/vars.sh
|
. $MODDIR/lib.sh
|
||||||
|
|
||||||
log_cli() {
|
log_cli() {
|
||||||
echo -e "$1" >> $ZTROOT/run/cli.out
|
echo -e "$1" >> $ZTROOT/run/cli.out
|
||||||
|
|||||||
@@ -9,11 +9,9 @@ DAEMON_LOG=$ZTROOT/run/daemon.log
|
|||||||
PIPE_CLI=$ZTROOT/run/pipe
|
PIPE_CLI=$ZTROOT/run/pipe
|
||||||
PIPE_APP=$APPROOT/run/pipe
|
PIPE_APP=$APPROOT/run/pipe
|
||||||
|
|
||||||
BB=/data/adb/magisk/busybox
|
|
||||||
|
|
||||||
# LD_LIBRARY_PATH for NDK
|
# LD_LIBRARY_PATH for NDK
|
||||||
export LD_LIBRARY_PATH=/system/lib64:/data/adb/zerotier/lib
|
export LD_LIBRARY_PATH=/system/lib64:/data/adb/zerotier/lib
|
||||||
|
|
||||||
__start() {
|
__start() {
|
||||||
nohup $ZTROOT/zerotier-one -d &>> $ZT_LOG &
|
nohup $ZTROOT/zerotier-one -d >> $ZT_LOG 2>&1 &
|
||||||
}
|
}
|
||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
MODDIR=${0%/*}
|
MODDIR=${0%/*}
|
||||||
|
|
||||||
# load variables
|
# load variables
|
||||||
. $MODDIR/vars.sh
|
. $MODDIR/lib.sh
|
||||||
|
|
||||||
# wait_until_login from yc9559/uperf at uperf/magisk/script/libcommon.sh
|
# wait_until_login from yc9559/uperf at uperf/magisk/script/libcommon.sh
|
||||||
wait_until_login() {
|
wait_until_login() {
|
||||||
|
|||||||
Reference in New Issue
Block a user