From 8ceac0236c555979a9172c69c1a9e895d7487d6f Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 17 Dec 2016 15:50:27 +0100 Subject: replace all with subdirectory rust/ --- demo.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 demo.sh (limited to 'demo.sh') diff --git a/demo.sh b/demo.sh deleted file mode 100755 index 67cb4dc..0000000 --- a/demo.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# Usage: -# - No arguments: Request a token -# - With arguments: Verify a token -export IP=1.2.3.4 -export URI=/test -export HTTP_HOST=www.example.com; -export CONTEXT="validsec=60;secret=asdsad;users=yvesf@xapek.org,marc@xapek.org;jid=___;jid_pw=___" -export SKIP_XMPP=1 - -if [ -z "$1" ]; then # request token - ( - echo "yvesf@xapek.org" - echo "" - ) | ./login.py -else # verify token - ( - echo "yvesf@xapek.org" - echo "$1" - ) | ./login.py - echo "Result $?" -fi -- cgit v1.2.1