mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
14 lines
281 B
Text
14 lines
281 B
Text
|
#!/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
|