From 0c5dc9d524e183d6daa39451d4b2064b69f4322f Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 8 Feb 2024 12:04:31 -0500 Subject: [PATCH] openvpn --- os/raspberrypi2-raspbian/helpers.sh | 5 +++++ .../systemd/{openvpn.service => openvpn-client.service} | 0 2 files changed, 5 insertions(+) rename os/raspberrypi2-raspbian/systemd/{openvpn.service => openvpn-client.service} (100%) diff --git a/os/raspberrypi2-raspbian/helpers.sh b/os/raspberrypi2-raspbian/helpers.sh index f6ffd06..37e4403 100755 --- a/os/raspberrypi2-raspbian/helpers.sh +++ b/os/raspberrypi2-raspbian/helpers.sh @@ -91,4 +91,9 @@ static_routers=$routerip static ip_address=$ip/24 # <---- AUTOGENERATED ---> " | tee -a /etc/dhcpcd.conf +} + +function install-openvpn { + sudo apt install openvpn + sudo cp systemd/openvpn.service /etc/systemd/system/openvpn-client.service } \ No newline at end of file diff --git a/os/raspberrypi2-raspbian/systemd/openvpn.service b/os/raspberrypi2-raspbian/systemd/openvpn-client.service similarity index 100% rename from os/raspberrypi2-raspbian/systemd/openvpn.service rename to os/raspberrypi2-raspbian/systemd/openvpn-client.service