diff --git a/readme.md b/readme.md index d1bd0e5..9dd4141 100644 --- a/readme.md +++ b/readme.md @@ -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.