GlobalProtect-openconnect/scripts/install.sh
2021-09-19 14:17:35 +08:00

10 lines
302 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 "\nDone. You can launch the GlobalProtect VPN client from the application dashboard.\n"