mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
12 lines
275 B
Bash
Executable File
12 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Wrapper for gpclient hip
|
|
GPCLIENT_BIN="/usr/bin/gpclient"
|
|
|
|
# Redirect the output to a file for debugging then output to stdout
|
|
LOGFILE="/tmp/gpclient-hipreport.log"
|
|
|
|
HIP_REPORT_OUTPUT=$(exec 2> "$LOGFILE" "$GPCLIENT_BIN" hip -vv "$@")
|
|
|
|
echo "$HIP_REPORT_OUTPUT"
|