From 68666885ab3de54148bc62741eb06937b0e06865 Mon Sep 17 00:00:00 2001 From: "a624669980@163.com" Date: Thu, 30 Jun 2022 19:00:27 +0800 Subject: [PATCH] Update init.go --- route/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route/init.go b/route/init.go index 0626f36..ad08885 100644 --- a/route/init.go +++ b/route/init.go @@ -25,7 +25,7 @@ import ( func InitFunction() { go checkSystemApp() - Update2_3() + ShellInit() CheckSerialDiskMount() CheckToken2_11() @@ -200,7 +200,7 @@ func CheckSerialDiskMount() { service.MyService.Disk().RemoveLSBLKCache() command.OnlyExec("source " + config.AppInfo.ShellPath + "/helper.sh ;AutoRemoveUnuseDir") } -func Update2_3() { +func ShellInit() { command.OnlyExec("curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/assist.sh | bash") if !file.CheckNotExist("/casaOS") { command.OnlyExec("source /casaOS/server/shell/update.sh ;")