14 lines
181 B
Plaintext
14 lines
181 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
source $(dirname $0)/shelly.conf
|
||
|
|
||
|
if [ $# -ne 1 ]; then
|
||
|
echo "usage: $0 <key> <value>"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
key=$1
|
||
|
|
||
|
curl -s $SHELLY_RPC/KVS.Delete'?key="'$key'"' | jq .
|
||
|
|