nightmorph 10/04/22 05:07:45 Modified: keychain-guide.xml Log: fix kde4 startup/shutdown paths, thanks to Jonathan Callen (ABCD)'s correction via IRC
Revision Changes Path 1.7 xml/htdocs/doc/en/keychain-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.7&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?r1=1.6&r2=1.7 Index: keychain-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- keychain-guide.xml 22 Apr 2010 03:48:03 -0000 1.6 +++ keychain-guide.xml 22 Apr 2010 05:07:44 -0000 1.7 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.6 2010/04/22 03:48:03 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.7 2010/04/22 05:07:44 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide> @@ -24,7 +24,7 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.5</version> +<version>1.6</version> <date>2010-04-21</date> <chapter> @@ -276,18 +276,18 @@ <p> If you are a KDE user, instead of using <path>~/.bash_profile</path>, you can let KDE manage ssh-agent for you. In order to do so, you will have to edit -<path>/usr/kde/4/env/agent-startup.sh</path>, which is read during KDE's -startup, and <path>/usr/kde/4/shutdown/agent-shutdown.sh</path>, which is +<path>/etc/kde/agent-startup.sh</path>, which is read during KDE's +startup, and <path>/etc/kde/shutdown/agent-shutdown.sh</path>, which is executed during KDE's shutdown. Here is how you could edit those files: </p> -<pre caption="Editing /usr/kde/4/env/agent-startup.sh"> +<pre caption="Editing /etc/kde/agent-startup.sh"> if [ -x /usr/bin/ssh-agent ]; then eval "$(/usr/bin/ssh-agent -s)" fi </pre> -<pre caption="Editing /usr/kde/4/shutdown/agent-shutdown.sh"> +<pre caption="Editing /etc/kde/shutdown/agent-shutdown.sh"> if [ -n "${SSH_AGENT_PID}" ]; then eval "$(ssh-agent -k)" fi