Last active
June 4, 2022 19:21
-
-
Save vladdoster/d5ef92c8f7046bb4c9cf10e241d566a0 to your computer and use it in GitHub Desktop.
Bash script to start Pulse VPN GUI on Linux/GNU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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