improved the readme wording

This commit is contained in:
Llewellyn van der Merwe 2017-07-22 00:29:01 +01:00
parent b22e11b3cc
commit de9d2d5182
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
1 changed files with 8 additions and 11 deletions

View File

@ -5,26 +5,23 @@ This script will update the VDM system with your dynamic IP. To run this script,
*setip* = set IP to VDM system
*getip* = will return all details related to this server
First time use to setup permission as root to set IP:
# to set IP:
```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)
```
Once permission is set:
```
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh | bash
```
This script performs the following actions:
First time use to setup permission as root to get IPs:
* 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 IPs:
```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh)
```
Once permission is set:
```
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh | bash
```
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 or Gets dynamic IPS for DNS.
* Gets dynamic IPS for this serves DNS.