updated server configs
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
# Client-side GS-Warp launcher
|
||||
# Created by Luxferre in 2026, released into the public domain
|
||||
|
||||
[ -z "$OVPNCFG" ] && OVPNCFG="$2"
|
||||
[ -z "$OVPNCFG" ] && OVPNCFG="$1"
|
||||
[ -z "$OVPNCFG" ] && OVPNCFG="client.ovpn"
|
||||
|
||||
printf "Using config from %s...\n" "$OVPNCFG"
|
||||
|
||||
GS_SECRET="$(md5sum "$OVPNCFG" | cut -d ' ' -f 1)"
|
||||
|
||||
GSPIDFILE='/tmp/gswarp-gs.pid'
|
||||
OVPIDFILE='/tmp/gswarp-ov.pid'
|
||||
|
||||
BEFORE_PIDS=$(pgrep -x gs-netcat 2>/dev/null)
|
||||
gs-netcat -D -s "$GS_SECRET" -p 1194
|
||||
sleep 0.5
|
||||
gs-netcat -D -p 1194 -s $(md5sum "$OVPNCFG" | cut -d ' ' -f 1)
|
||||
|
||||
sleep 2
|
||||
AFTER_PIDS=$(pgrep -x gs-netcat 2>/dev/null)
|
||||
|
||||
if [ -n "$BEFORE_PIDS" ]; then
|
||||
|
||||
Reference in New Issue
Block a user