added sms, deviceinfo, settings, and watchat changes

This commit is contained in:
Russel Yasol
2024-05-25 07:54:30 +08:00
parent 0ada4e6f64
commit 9f800af0fd
9 changed files with 1061 additions and 547 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Content type header
echo "Content-type: application/json"
echo ""
# This script fetches the watchCat parameters from the /tmp/watchCatParams.json file and returns it as JSON
# Check if the file exists
if [ -f /tmp/watchCatParams.json ]; then
# Read the file and return the content
cat /tmp/watchCatParams.json
else
# Return an empty JSON object
echo "{}"
fi
exit 0