From 23c57ff24840c6f612ffd19effbac70a2c218865 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 15 Jan 2016 19:27:34 +0100 Subject: cern-scripts: package --- packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh (limited to 'packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh') diff --git a/packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh b/packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh new file mode 100755 index 0000000..4d0fb0e --- /dev/null +++ b/packages/cern-scripts/src/main/resources/bin/kpcli-open-ais-pm.sh @@ -0,0 +1,7 @@ +#!/bin/sh +d="`mktemp -d`" +cd "$d" +smbclient -k '\\cerndfs.cern.ch\dfs' -D '/Departments/GS/Groups/AIS/Sections/PM' -c 'get ais-pm-passwords.kdbx' +kpcli --kdb ais-pm-passwords.kdbx +cd "$HOME" +rm -rvf "$d" -- cgit v1.2.1