mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
luci-app-ssocks: fix path to binary
This commit is contained in:
parent
074461962d
commit
821ecda6a1
@ -25,7 +25,7 @@ start()
|
||||
echo "${username}:${password}" > /etc/config/ssocks-authorization
|
||||
auth_arg="--auth /etc/config/ssocks-authorization"
|
||||
fi
|
||||
/usr/bin/ssocks --port "${listen_port}" --bind "${bind_address}" ${auth_arg} >/dev/null 2>&1 &
|
||||
/usr/bin/ssocksd --port "${listen_port}" --bind "${bind_address}" ${auth_arg} >/dev/null 2>&1 &
|
||||
iptables -I INPUT -p tcp --dport "${listen_port}" -j ACCEPT
|
||||
cat <<-EOF > "/var/etc/ssocks.include"
|
||||
iptables -I INPUT -p tcp --dport "${listen_port}" -j ACCEPT
|
||||
|
Loading…
x
Reference in New Issue
Block a user