mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
12 lines
236 B
Bash
12 lines
236 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Update the the dbus user to logname
|
|
dbus_conf=/usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
|
if [ -f $dbus_conf ]; then
|
|
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" $dbus_conf
|
|
fi
|
|
|
|
#DEBHELPER#
|