123456789101112131415 |
- #!/bin/sh
- set -e
- # Disable ssh-agent in /etc/X11/Xsession.options
- # (seahorse / gnome-keyring are more user-friendly)
- echo "Disabling ssh-agent"
- OPTS_FILE='/etc/X11/Xsession.options'
- [ -f "${OPTS_FILE}" ] || exit 11
- sed -i'' 's,^use-ssh-agent,#use-ssh-agent,' "${OPTS_FILE}"
|