initial commit; version 22.5.12042
This commit is contained in:
15
scripts/agent-local/crashplan
Executable file
15
scripts/agent-local/crashplan
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
USERNAME=admin
|
||||
PASSWORD=password
|
||||
|
||||
HOST=localhost
|
||||
PORT=4280
|
||||
|
||||
RESULT=$(curl --basic -u $USERNAME:$PASSWORD -s --insecure http://$HOST:$PORT/api/Server)
|
||||
|
||||
if [ "$RESULT" != "" ];
|
||||
then
|
||||
echo "<<<app-crashplan-server>>>"
|
||||
echo "$RESULT"
|
||||
fi
|
Reference in New Issue
Block a user