Rename wireguard-connection from wg0 to VPN-Schule.

This commit is contained in:
Raphael Dannecker 2024-06-23 10:37:18 +02:00
parent 640f58996c
commit 4863caf526
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
#
set -eu
if [[ "$CONNECTION_ID" = "wg0" ]]; then
if [[ "$CONNECTION_ID" = "VPN-Schule" ]]; then
USERNAME=$(ps -o pid,user,args -C sddm-helper | sed -nE 's/.*user (.*)$/\1/p')
USERID=$(id -u "${USERNAME}")
KRB5CCNAME=$(ls /tmp/krb5cc_"${USERID}"_*)

View file

@ -1,5 +1,5 @@
[connection]
id=wg0
id=VPN-Schule
type=wireguard
autoconnect=false
interface-name=wg0