1
0
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:
Joe Groocock 2017-11-03 00:28:18 +00:00
parent 40da40d718
commit 29f0feb620
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -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