You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/core/tdebase/stopkde.suse.sh

14 lines
188 B

#! /bin/sh
if test -n "$SSH_AGENT_PID"; then
ssh-agent -k
fi
if test -n "$GPG_AGENT_INFO"; then
pid=`echo "$GPG_AGENT_INFO" | cut -d: -f2`
if test -n "$pid"; then
kill $pid
fi
fi