ydns / bash-updater

YDNS Bash Updater Script
GNU General Public License v3.0
82 stars 43 forks source link

Feature/use a config file #33

Closed adamamyl closed 9 years ago

adamamyl commented 9 years ago

This PR does two things:

  1. Stylistic fixes per Shellcheck
  2. Separates the config from the code:
    • either an expected file (/usr/local/etc/ydns-config)
    • or a specified file ($1)

Not sure if you want this in upstream or not…

adamamyl commented 9 years ago

(hadn't realized my repo was out of date)