#!/bin/sh # # Start up wget, try to fetch the file in the background # /usr/bin/wget -O /mnt/kd/asterisk/username-dialplan.conf http://my.webserver.tld/usernames & # # Wait 15 seconds regardless of result... # sleep 15 # # Now hand back the contents of the user-context file # via stdout... # /bin/cat /mnt/kd/asterisk/username-dialplan.conf # # end