Simple bash script to setup a NUT netclient config from scratch. Assumptions are Ubuntu 14.04.1, and that the nut server has only one UPS attached and is accessible by an already configured nut user+pass.