mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add check before starting gnome-keyring-daemon to prevent env-dump
This commit is contained in:
parent
40da40d718
commit
29f0feb620
4
.profile
4
.profile
@ -32,4 +32,8 @@ if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|||||||
eval $(dbus-launch --sh-syntax --exit-with-session)
|
eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||||
dbus-update-activation-environment --systemd DISPLAY
|
dbus-update-activation-environment --systemd DISPLAY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Start the gnome-keyring if it's installed
|
||||||
|
if which gnome-keyring-daemon &>/dev/null; then
|
||||||
export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
|
export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user