fixes
parent
caab418544
commit
7c36c607c1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue