mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Revert "Revert "fix: improve the dbus security""
This reverts commit 4940830885.
This commit is contained in:
1 parent
177da7f3a2
commit
65c59e47ec
3 files changed
+3
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
post_install() {
|
||||
# Update the the dbus user to logname
|
||||
sed -i "/LOGNAME/N;s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
||||
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
||||
|
||||
systemctl enable gpservice.service
|
||||
systemctl restart gpservice.service
|
||||
|
||||
Reference in new issue
Block a user