summaryrefslogtreecommitdiff
path: root/e3372-reboot.sh
blob: f4e852678acb80f9fe8feef9834bf77aec5aeb48 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
. "$DIR/include.sh"

get_token

post_xml "device/control" \
    "<?xml version='1.0' encoding='UTF-8'?><request><Control>1</Control></request>"