#!/bin/bash hash=`cat out` curl -H "Authorization: WHM root:$hash" http://localhost:2086/xml-api/sethostname?hostname=host.ssullivan.org