Skip to content

Commit

Permalink
feat(strongswan): add setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Jul 19, 2023
1 parent 57e391b commit 81c988a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/strongswan.install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
if [ -f /etc/fedora-release ]; then
sudo dnf install -y strongswan
elif [ -f /etc/lsb-release ] || [ -f /etc/os-release ] ; then
sudo apt-get update
sudo apt-get install -y stringswan
else
echo "Unsupported distribution. This script only supports Fedora, Ubuntu and Debian."
exit 1
fi


0 comments on commit 81c988a

Please sign in to comment.