master
Bryan 2020-12-20 01:57:27 -06:00
parent caab418544
commit 7c36c607c1
1 changed files with 7 additions and 8 deletions

View File

@ -1,19 +1,18 @@
#!/bin/bash
# Initialize
PASSWD_FILE="/usr/local/www/cgi-bin/passwd"
QUERY_STRING=$1
LOCKFILE="./doorcontrol-main.lock"
. parse_query_string.sh
#
echo "Content-type: application/json"
echo ""
echo ""
echo '{"message": "test message"}'
exit
# Initialize
PASSWD_FILE="/usr/local/www/cgi-bin/doorcontrol-cgi/passwd"
QUERY_STRING=$1
LOCKFILE="./doorcontrol-main.lock"
. parse_query_string.sh
#
# Exit if instance already running
if [ -e "$LOCKFILE" ]; then
exit 1