Skip to content

Commit

Permalink
2.0.9h
Browse files Browse the repository at this point in the history
  • Loading branch information
frainzy1477 committed May 5, 2021
1 parent 2a89b00 commit aae74f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Proxy Client for Openwrt Based On <a href="https://github.com/p4gefau1t/trojan-go" target="_blank">Trojan-GO</a>.
</p>
<p align="center">
<a target="_blank" href="https://github.com/frainzy1477/luci-app-trojan/releases/tag/v2.0.8">
<img src="https://img.shields.io/badge/Luci%20App%20For%20TrojanGo-v2.0.8-blue.svg">
<a target="_blank" href="https://github.com/frainzy1477/luci-app-trojan/releases/tag/v2.0.9">
<img src="https://img.shields.io/badge/Luci%20App%20For%20TrojanGo-v2.0.9-blue.svg">
</a>
<a href="https://github.com/frainzy1477/luci-app-trojan/releases" target="_blank">
<img src="https://img.shields.io/github/downloads/frainzy1477/luci-app-trojan/total.svg?style=flat-square"/>
Expand All @@ -19,8 +19,8 @@
- Upload ipk file to tmp folder
- cd /tmp
- opkg update
- opkg install luci-app-trojan_v2.0.8_all.ipk
- opkg install luci-app-trojan_v2.0.8_all.ipk --force-depends
- opkg install luci-app-trojan_v2.0.9_all.ipk
- opkg install luci-app-trojan_v2.0.9_all.ipk --force-depends

## Uninstall
- opkg remove luci-app-trojan
Expand All @@ -47,22 +47,20 @@
- iptables
- luci
- luci-base
- wget
- wget-ssl
- unzip
- ca-certificates
- iptables-mod-tproxy
- coreutils
- coreutils-base64
- luci-compat


### trojan-go uri
```
trojan-go://[email protected]:443/?sni=abc.xxx.com&type=ws&host=cdn.xxx.com&path=/&encryption=ss%3Baes-128-gcm%3Asspassword#ABC
```
## Credits
* [Trojan-Go](https://github.com/p4gefau1t/trojan-go) by [p4gefau1t](https://github.com/p4gefau1t)

## License
Luci App For Trojan-Go OpenWrt is released under the GPL v3.0 License - see detailed [LICENSE](https://github.com/frainzy1477/luci-app-trojan/blob/master/LICENSE) .

### trojan-go uri
```
trojan-go://[email protected]:443/?sni=abc.xxx.com&type=ws&host=cdn.xxx.com&path=/&encryption=ss%3Baes-128-gcm%3Asspassword#ABC
```
2 changes: 1 addition & 1 deletion root/etc/init.d/trojan
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ start(){
fi
rm -f /var/etc/$NAME*
gen_config_file $GLOBAL_SERVER 0
if [ "$(ls -l $CONFIG_FILE|awk '{print int($5)}')" -ne 0 ]; then
if [ -f $CONFIG_FILE ] && [ "$(ls -l $CONFIG_FILE|awk '{print int($5)}')" -ne 0 ]; then
if [ "$dns_mode" != "off" ];then
redir >/dev/null 2>&1
if [ "${lang}" == "en" ] || [ $lang == "auto" ];then
Expand Down

0 comments on commit aae74f9

Please sign in to comment.