Problem with buttons_custom.cfg is that if you define groups for users, they won't show up as they will not appear in the group definitions.
To see if the file is being incuded or not, just run
/usr/local/fop2/autoconfig-buttons-freepbx.sh
and eximine the output, does it show?
I don't have any groups for users at all, so that's not an issue.
It's not being included. Yet, here's the last few lines of the script.
echo
if [ -f buttons_custom.cfg ]; then
cat buttons_custom.cfg
fi
And the /usr/local/fop2 folder I have it stored in ls - output
-rw-r--r-- 1 asterisk asterisk 91 Aug 25 01:07 buttons_custom.cfg