From 3f4fe7d3464b2688d94e24b2e6a54acd35634ee6 Mon Sep 17 00:00:00 2001 From: SunBK201 Date: Wed, 28 Feb 2024 17:38:12 +0800 Subject: [PATCH] fix(install): reload service in install.sh --- README.md | 1 - install.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 885f7f1..526a82b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ UA3F 是新一代 HTTP User-Agent 修改方法,对外作为一个 SOCK5 服务 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 261beb1..d02df1a 100755 --- a/install.sh +++ b/install.sh @@ -97,3 +97,5 @@ rm /tmp/luci-indexcache* >/dev/null 2>&1 if [ $? -eq 0 ]; then echo "Install UA3F Success." fi + +service ua3f.service reload >/dev/null 2>&1