mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
fix(install): reload service
This commit is contained in:
parent
bdb66f8e89
commit
c5ce9b7de3
@ -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
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user