aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/askForPass.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/askForPass.sh')
-rwxr-xr-xResources/askForPass.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/Resources/askForPass.sh b/Resources/askForPass.sh
deleted file mode 100755
index 9dc68933..00000000
--- a/Resources/askForPass.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-PF=$*
-UUID=`uuidgen`
-mkfifo /tmp/$UUID
-SCRIPT=`echo tell application \"Sequel Pro\" to authenticate tunnel \"$TUNNEL_NAME\" query phrase \"$PF\" fifo \"/tmp/$UUID\"`
-echo $SCRIPT > /tmp/test
-#PASS=`osascript -e "$SCRIPT"`;
-osascript -e "$SCRIPT" > /dev/null 2>&1
-#echo $PASS;
-PASS=`cat /tmp/$UUID`
-echo $PASS
-rm -f /tmp/$UUID \ No newline at end of file