Update README.md

This commit is contained in:
Bard 2022-12-07 03:09:34 +08:00 committed by GitHub
parent 4b22f16e6d
commit 2457659785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,24 @@
- Openwrt official SnapShots - Openwrt official SnapShots
```shell ```shell
# remove v2ray-geodata package from feeds (openwrt-22.03 & master)
rm -rf feeds/packages/net/v2ray-geodata
git clone https://github.com/sbwml/luci-app-mosdns package/mosdns git clone https://github.com/sbwml/luci-app-mosdns package/mosdns
git clone https://github.com/sbwml/v2ray-geodata package/geodata git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
make V=s
```
- Non-Openwrt official source
```shell
# drop mosdns and v2ray-geodata packages that come with the source
find ./ | grep Makefile | grep v2ray-geodata | xargs rm -f
find ./ | grep Makefile | grep mosdns | xargs rm -f
git clone https://github.com/sbwml/luci-app-mosdns package/mosdns
git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
make menuconfig # choose LUCI -> Applications -> luci-app-mosdns make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
make V=s make V=s
``` ```
@ -34,5 +50,6 @@
-------------- --------------
![](https://user-images.githubusercontent.com/16485166/184607725-a147edda-07a0-41e9-be33-83b878926e6c.png) ![](https://user-images.githubusercontent.com/16485166/206000249-3fdc64ea-cb4d-47f6-8247-c029f54e405e.png)