mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-18 17:56:25 +00:00
fix(install): reload service
This commit is contained in:
parent
c7ef0cb3d9
commit
561b9387bd
@ -10,7 +10,10 @@ UA3F 是新一代 HTTP User-Agent 修改方法,对外作为一个 SOCK5 服务
|
|||||||
|
|
||||||
安装(升级)脚本:
|
安装(升级)脚本:
|
||||||
```sh
|
```sh
|
||||||
|
opkg update
|
||||||
|
opkg install curl luci-compat
|
||||||
export url='https://blog.sunbk201.site/cdn' && sh -c "$(curl -kfsSl $url/install.sh)"
|
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
|
rm /tmp/luci-indexcache* >/dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
/etc/init.d/ua3f.service reload
|
|
||||||
echo "Install UA3F Success."
|
echo "Install UA3F Success."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user