1
0
mirror of https://github.com/namibia/demo-sync.git synced 2024-11-21 19:15:10 +00:00
Go to file
2020-02-25 00:15:56 +02:00
.gitignore updated the links and values to point to the new repo, and website for this project. 2020-02-25 00:15:56 +02:00
getdata.sh updated the links and values to point to the new repo, and website for this project. 2020-02-25 00:15:56 +02:00
LICENSE improved the setip, added the basic getip 2017-07-21 23:48:24 +01:00
readme.md updated the links and values to point to the new repo, and website for this project. 2020-02-25 00:15:56 +02:00
setdata.sh updated the links and values to point to the new repo, and website for this project. 2020-02-25 00:15:56 +02:00

Sential client

This script will update the VDM system with a station data. To run this script, use the following command (as root):

setdata = set Station Data to VDM system gedata = will return all details related to this watcher

to set Data:

bash <(curl -s https://raw.githubusercontent.com/sentinel-mx/client/master/setdata.sh)

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.

to get Data:

bash <(curl -s https://raw.githubusercontent.com/sentinel-mx/client/master/getdata.sh)

This script performs the following actions:

  • Adds random Host Key.
  • Adds a cron entry to update the data on a scheduled basis.
  • Gets data of stations in the watchers scope.