From d9427edfb8ee95c6dfb225f043a85a4474763f54 Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 28 Mar 2023 22:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'kongkong=5Fupdate.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kongkong_update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kongkong_update.sh b/kongkong_update.sh index f13cf85..4a58074 100644 --- a/kongkong_update.sh +++ b/kongkong_update.sh @@ -1,9 +1,9 @@ pushd /tmp curl -o kongkong_init.py https://git.tobyliu.com/toby/common-tools/raw/branch/main/kongkong_init.py -remoteid=`cat /usr/local/bin/frpc.ini | grep "meta_id =" | cut -d " " -f 3` +remoteid=`cat /usr/local/etc/frpc.ini | grep "meta_id =" | cut -d " " -f 3` python3 kongkong_init.py "$remoteid" -sudo cp frpc.ini /usr/local/bin +sudo cp frpc.ini /usr/local/etc if command -v yum &> /dev/null then