From d6fbc5abab8f1e60c21c6003a44390fae4472fbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20Mei=C3=9Fner?=
 <936176+t-nil@users.noreply.github.com>
Date: Tue, 23 Jul 2024 14:38:11 +0200
Subject: [PATCH] fix(vpn_uni): use pw file path relative to scripts dir

---
 vpn_uni.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vpn_uni.sh b/vpn_uni.sh
index 0c044f4..2c2c5f8 100755
--- a/vpn_uni.sh
+++ b/vpn_uni.sh
@@ -2,7 +2,7 @@
 
 MTU=1284
 VPNUSER=meissnerfl73755
-VPNPASSWORD=$(cat pws/vpn_uni)
+VPNPASSWORD=$(cat $(dirname $0)/pws/vpn_uni)
 
 if [ -e /usr/lib/openconnect/hipreport.sh ]; then
     HIPREPORT="/usr/lib/openconnect/hipreport.sh"
-- 
GitLab