mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add shadowsocks-Rust luci interface
This commit is contained in:
parent
d07ccb47ff
commit
a049f0f415
38 changed files with 10479 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@shadowsocks-rust[-1]
|
||||
add ucitrack shadowsocks-rust
|
||||
set ucitrack.@shadowsocks-rust[-1].init=shadowsocks-rust
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -f /tmp/luci-indexcache
|
||||
mkdir -p /etc/shadowsocks-rust
|
||||
/etc/init.d/rpcd reload
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue