Hi aris
It definitely has to be:
#!/bin/sh so make sure you've changed it back. I suspect the  hostapd  command is not being executed. Use the  ps  command and
see if any of the following are still running:
bootlocal.sh
eth0.sh
wlan0.sh
If  eth0.sh  or  wlan0.sh  are still running, post their contents.