I tried to search a guideline for sharing scripts related to openwrt, but on the wiki i found nothing. Moreover this subforum seems not only a subforum for documentation but also for community support. So i have no clue. Any hint would be appreciated.
Nevertheless i'm sharing a simple script (feel free to modify it as much as you want or to point out better scripts) about managing the wifi signal when no clients are connected (to spare some microwatt (!) and electromagnetic pollution).