Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
public:gnupg:gnupgcard_und_ltsp [2015/04/21 09:59] jankow@datenkollektiv.netpublic:gnupg:gnupgcard_und_ltsp [2015/08/28 09:57] (aktuell) – [Icedove und Enigmail] jankow@datenkollektiv.net
Zeile 118: Zeile 118:
 # Providing gpg-agent in a local-apps-environment # Providing gpg-agent in a local-apps-environment
  
 +# Providing gpg-agent in a local-apps-environment
 # start only, if we are local # start only, if we are local
-if   ip addr|grep -q $LTSP_CLIENT/24 ; then+if   [ "$LTSP_CLIENT" != "" ] && ip addr|grep -q $LTSP_CLIENT/24 ; then 
 +        echo "We are in ltsp-environment. Starting gpg-agent." 
         # Invoke GnuPG-Agent the first time we login.         # Invoke GnuPG-Agent the first time we login.
         # Does `~/.gpg-agent-info' exist and points to gpg-agent process accepting signals?         # Does `~/.gpg-agent-info' exist and points to gpg-agent process accepting signals?