Rename wireguard-connection from wg0 to VPN-Schule.
This commit is contained in:
parent
640f58996c
commit
4863caf526
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
set -eu
|
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')
|
USERNAME=$(ps -o pid,user,args -C sddm-helper | sed -nE 's/.*user (.*)$/\1/p')
|
||||||
USERID=$(id -u "${USERNAME}")
|
USERID=$(id -u "${USERNAME}")
|
||||||
KRB5CCNAME=$(ls /tmp/krb5cc_"${USERID}"_*)
|
KRB5CCNAME=$(ls /tmp/krb5cc_"${USERID}"_*)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[connection]
|
[connection]
|
||||||
id=wg0
|
id=VPN-Schule
|
||||||
type=wireguard
|
type=wireguard
|
||||||
autoconnect=false
|
autoconnect=false
|
||||||
interface-name=wg0
|
interface-name=wg0
|
||||||
|
|
Loading…
Add table
Reference in a new issue