From c6f9859e9a3c8d1e984f626490887739295665f1 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sun, 29 Sep 2024 13:14:00 +0800 Subject: [PATCH] =?UTF-8?q?~=E5=B0=86=E5=8D=8E=E7=A1=95=E8=87=AA=E5=90=AF?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8&?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/init.sh b/scripts/init.sh index 8f782e2..19dcc93 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -271,7 +271,7 @@ EOF [ -n "$initdir" ] && { sed -i '/ShellCrash初始化/'d $initdir touch $initdir - echo "$CRASHDIR/start.sh init #ShellCrash初始化脚本" >> $initdir + echo "$CRASHDIR/start.sh init & #ShellCrash初始化脚本" >> $initdir chmod a+rx $initdir 2>/dev/null setconfig initdir $initdir } @@ -293,13 +293,13 @@ else fi #华硕USB启动额外设置 [ "$usb_status" = "1" ] && { - echo "$CRASHDIR/start.sh init #ShellCrash初始化脚本" > ${CRASHDIR}/asus_usb_mount.sh + echo "$CRASHDIR/start.sh init & #ShellCrash初始化脚本" > ${CRASHDIR}/asus_usb_mount.sh nvram set script_usbmount="$CRASHDIR/asus_usb_mount.sh" nvram commit } #华硕下载大师启动额外设置 [ -f "$dir/asusware.arm/etc/init.d/S50downloadmaster" ] && [ -z "$(grep 'ShellCrash' $dir/asusware.arm/etc/init.d/S50downloadmaster)" ] && \ - sed -i "/^PATH=/a\\$CRASHDIR/start.sh init #ShellCrash初始化脚本" "$dir/asusware.arm/etc/init.d/S50downloadmaster" + sed -i "/^PATH=/a\\$CRASHDIR/start.sh init & #ShellCrash初始化脚本" "$dir/asusware.arm/etc/init.d/S50downloadmaster" #删除临时文件 rm -rf /tmp/*rash*gz rm -rf /tmp/SC_tmp