From c5ce9b7de396ca2d1ee41e86b6e8f95982a7f34e Mon Sep 17 00:00:00 2001 From: SunBK201 Date: Sat, 17 Feb 2024 23:01:43 +0800 Subject: [PATCH] fix(install): reload service --- README.md | 3 +++ install.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c647e1c..a70a56e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,10 @@ UA3F 是新一代 HTTP User-Agent 修改方法,对外作为一个 SOCK5 服务 安装(升级)脚本: ```sh +opkg update +opkg install curl luci-compat export url='https://blog.sunbk201.site/cdn' && sh -c "$(curl -kfsSl $url/install.sh)" +service ua3f.service reload ``` ## 使用 diff --git a/install.sh b/install.sh index 05d83a9..79dba6e 100755 --- a/install.sh +++ b/install.sh @@ -92,6 +92,5 @@ rm /tmp/luci-modulecache/* >/dev/null 2>&1 rm /tmp/luci-indexcache* >/dev/null 2>&1 if [ $? -eq 0 ]; then - /etc/init.d/ua3f.service reload echo "Install UA3F Success." fi