summaryrefslogtreecommitdiffstats
path: root/bin/on-lock
diff options
context:
space:
mode:
Diffstat (limited to 'bin/on-lock')
-rwxr-xr-xbin/on-lock5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/on-lock b/bin/on-lock
new file mode 100755
index 0000000..b9fa1fe
--- /dev/null
+++ b/bin/on-lock
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sudo -K
+ssh-add -D
+echo RELOADAGENT | gpg-connect-agent