2020-02-24 22:14:41 +00:00
|
|
|
Sential client
|
2017-07-05 00:34:40 +00:00
|
|
|
============
|
2020-02-16 23:15:34 +00:00
|
|
|
This script will update the VDM system with a station data. To run this script, use the following command (as root):
|
2017-07-05 00:34:40 +00:00
|
|
|
|
2020-02-16 23:15:34 +00:00
|
|
|
*setdata* = set Station Data to VDM system
|
|
|
|
*gedata* = will return all details related to this watcher
|
2017-07-21 22:48:24 +00:00
|
|
|
|
2020-02-16 23:15:34 +00:00
|
|
|
# to set Data:
|
2017-07-05 21:05:00 +00:00
|
|
|
```
|
2020-02-24 22:14:41 +00:00
|
|
|
bash <(curl -s https://raw.githubusercontent.com/sentinel-mx/client/master/setdata.sh)
|
2017-07-05 21:05:00 +00:00
|
|
|
```
|
2017-07-21 23:29:01 +00:00
|
|
|
This script performs the following actions:
|
|
|
|
|
|
|
|
* Adds random Host Key.
|
|
|
|
* Adds a cron entry to update this file on a scheduled basis.
|
|
|
|
* Adds the server IP to VDM system.
|
2017-07-05 00:34:40 +00:00
|
|
|
|
2020-02-16 23:15:34 +00:00
|
|
|
# to get Data:
|
2017-07-21 22:48:24 +00:00
|
|
|
```
|
2020-02-24 22:14:41 +00:00
|
|
|
bash <(curl -s https://raw.githubusercontent.com/sentinel-mx/client/master/getdata.sh)
|
2017-07-21 22:48:24 +00:00
|
|
|
```
|
|
|
|
|
2017-07-05 00:34:40 +00:00
|
|
|
This script performs the following actions:
|
|
|
|
|
|
|
|
* Adds random Host Key.
|
2020-02-16 23:15:34 +00:00
|
|
|
* Adds a cron entry to update the data on a scheduled basis.
|
|
|
|
* Gets data of stations in the watchers scope.
|