Skip to content

Instantly share code, notes, and snippets.

@vkdimitrov
Created July 9, 2013 22:16
Show Gist options
  • Save vkdimitrov/5961811 to your computer and use it in GitHub Desktop.
Save vkdimitrov/5961811 to your computer and use it in GitHub Desktop.
dd-wrt cronjob that check if there are active wifi clients, and if not reduce TX Power to min (without disabling the radio), else set it to 50
*/1 * * * * root I=`nvram get wl0_ifname`;[ -z `wl -i $I assoclist` ] && wl txpwr1 -o -m 1 || wl txpwr1 -o -m 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment