mirror of
https://github.com/Zxilly/UA2F.git
synced 2025-12-29 22:40:14 +00:00
docs: add custom help
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
This commit is contained in:
parent
5e613f8bd6
commit
6ac594ee0a
16
README.md
16
README.md
@ -1,4 +1,7 @@
|
||||

|
||||
|
||||
# UA2F
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FZxilly%2FUA2F?ref=badge_shield)
|
||||
|
||||
暂时来说,懒得写 README,请先参照 [博客文章](https://learningman.top/archives/304) 完成操作
|
||||
@ -7,7 +10,7 @@
|
||||
|
||||
> 由于新加入的 CONNMARK 影响,编译内核时需要添加 `NETFILTER_NETLINK_GLUE_CT` flag
|
||||
|
||||
# uci command
|
||||
## uci command
|
||||
|
||||
```bash
|
||||
# 启用 UA2F
|
||||
@ -36,7 +39,16 @@ service ua2f enable
|
||||
service ua2f start
|
||||
```
|
||||
|
||||
# 自定义 User-Agent
|
||||
## 自定义 User-Agent
|
||||
|
||||
### 使用 Option
|
||||
|
||||
`make menuconfig` 后,使用 option 设置
|
||||
|
||||

|
||||
|
||||
|
||||
### 手动设置
|
||||
|
||||
如果想自定义 User-Agent, 当前可以修改代码中的 `/src/custom.h`,取消 `#define UA2F_CUSTOM_UA` 的注释,然后修改 `UA2F_CUSTOM_UA` 的值即可。
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user