mirror of
https://github.com/bol-van/zapret.git
synced 2025-01-06 08:20:34 +05:00
blockcheck: use 3003 GID in tpws for android compat
This commit is contained in:
parent
2c0c2c987b
commit
3ee381aff6
@ -6,7 +6,8 @@ ZAPRET_BASE="$EXEDIR"
|
|||||||
|
|
||||||
[ -n "$QNUM" ] || QNUM=59780
|
[ -n "$QNUM" ] || QNUM=59780
|
||||||
[ -n "$TPPORT" ] || TPPORT=993
|
[ -n "$TPPORT" ] || TPPORT=993
|
||||||
[ -n "$TPWS_UID" ] || TPWS_UID=1:3003
|
[ -n "$TPWS_UID" ] || TPWS_UID=1
|
||||||
|
[ -n "$TPWS_GID" ] || TPWS_GID=3003
|
||||||
[ -n "$NFQWS" ] || NFQWS="$ZAPRET_BASE/nfq/nfqws"
|
[ -n "$NFQWS" ] || NFQWS="$ZAPRET_BASE/nfq/nfqws"
|
||||||
[ -n "$DVTWS" ] || DVTWS="$ZAPRET_BASE/nfq/dvtws"
|
[ -n "$DVTWS" ] || DVTWS="$ZAPRET_BASE/nfq/dvtws"
|
||||||
[ -n "$TPWS" ] || TPWS="$ZAPRET_BASE/tpws/tpws"
|
[ -n "$TPWS" ] || TPWS="$ZAPRET_BASE/tpws/tpws"
|
||||||
@ -410,7 +411,7 @@ pktws_start()
|
|||||||
}
|
}
|
||||||
tpws_start()
|
tpws_start()
|
||||||
{
|
{
|
||||||
"$TPWS" --uid $TPWS_UID:$TPWS_UID --bind-addr=$LOCALHOST --port=$TPPORT "$@" >/dev/null &
|
"$TPWS" --uid $TPWS_UID:$TPWS_GID --bind-addr=$LOCALHOST --port=$TPPORT "$@" >/dev/null &
|
||||||
PID=$!
|
PID=$!
|
||||||
# give some time to initialize
|
# give some time to initialize
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user