Hostapd_manager.sh
Hostapd_manager.sh

File to modify:
/etc/hostapd/hostapd.conf
/etc/hostapd/hostapd-edimax.conf

This is a improvement on the script that was uploaded to reddit. 
https://www.reddit.com/r/stratux/comments/4c0ffw/change_ssid_bash_script/

usage:
hostapd_manager.sh ssid channel passphrase
timami/stratux,kdknigga/stratux,stratux-fork/stratux,cyoung/stratux,egid/stratux,ccicchitelli/stratux,ssokol/stratux,ssokol/stratux,timami/stratux,jpoirier/stratux,timami/stratux,timami/PlaneSense,ssokol/stratux,kdknigga/stratux,jpoirier/stratux,cyoung/stratux,timami/PlaneSense,timami/stratux,cyoung/stratux,stratux-fork/stratux,westphae/stratux,ssokol/stratux,stratux-fork/stratux,jpoirier/stratux,ccicchitelli/stratux,cyoung/stratux,lukepalmer/stratux,stratux-fork/stratux,cyoung/stratux,jpoirier/stratux,egid/stratux,jpoirier/stratux,timami/PlaneSense,cyoung/stratux,westphae/stratux,timami/PlaneSense,ccicchitelli/stratux,lukepalmer/stratux,egid/stratux,westphae/stratux,ssokol/stratux,jpoirier/stratux,kdknigga/stratux,kdknigga/stratux,lukepalmer/stratux,stratux-fork/stratux,timami/PlaneSense,kdknigga/stratux,egid/stratux,timami/stratux,ccicchitelli/stratux,ccicchitelli/stratux,egid/stratux,egid/stratux,ccicchitelli/stratux,lukepalmer/stratux,westphae/stratux,westphae/stratux,lukepalmer/stratux,timami/stratux,timami/PlaneSense,lukepalmer/stratux,westphae/stratux,stratux-fork/stratux,kdknigga/stratux,ssokol/stratux