Skip to content

Instantly share code, notes, and snippets.

@vladdoster
Last active June 4, 2022 19:21
Show Gist options
  • Save vladdoster/d5ef92c8f7046bb4c9cf10e241d566a0 to your computer and use it in GitHub Desktop.
Save vladdoster/d5ef92c8f7046bb4c9cf10e241d566a0 to your computer and use it in GitHub Desktop.
Bash script to start Pulse VPN GUI on Linux/GNU
#!/usr/bin/env bash
#
# Script to start Pulse VPN GUI on Linux/GNU
#
echo "--- updating LD_LIBRARY_PATH"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
echo "--- starting Pulse VPN"
if
find /usr/local/pulse -name 'pulseUi' -print0 | xargs nohup {} &
then
echo "--- started Pulse VPN UI"
exit 0
else
echo "--- ERROR: unable to find pulseUI"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment