fix redirection for ash

This commit is contained in:
eventlOwOp
2024-07-02 13:28:51 +08:00
parent 9b1059acbd
commit 19e9c26f59
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -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
+1 -3
View File
@@ -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
View File
@@ -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() {