GlobalProtect-openconnect/scripts/install.sh
2021-09-19 15:40:20 +08:00

10 lines
305 B
Bash
Executable File

#!/bin/bash -e
./cmakew -B build -DCMAKE_BUILD_TYPE=Release
MAKEFLAGS=-j$(nproc) ./cmakew --build build
sudo ./cmakew --install build
sudo systemctl daemon-reload
sudo systemctl restart gpservice.service
echo -e "\nSuccess. You can launch the GlobalProtect VPN client from the application dashboard.\n"