alan_smithee
Occasional Visitor
Hi,
I've been searching in the forums and wiki but I can't find the command to turn off both radio's (2.4 and 5.0).
I want to create a cron job that enables wireless at daytime and disables it at night.
When I look at the scheduled LED control page, I think it should look something like this:
services-start:
#!/bin/sh
cru a wirelessoff "0 23 * * * /jffs/scripts/wirelessoff.sh"
cru a wirelesson "0 6 * * * /jffs/scripts/wirelesson.sh"
wirelessoff.sh:
#!/bin/sh
nvram set ........
vram commit
service restart......
wirelesson.sh
#!/bin/sh
nvram set .........
nvram commit
service restart........
I've been searching in the forums and wiki but I can't find the command to turn off both radio's (2.4 and 5.0).
I want to create a cron job that enables wireless at daytime and disables it at night.
When I look at the scheduled LED control page, I think it should look something like this:
services-start:
#!/bin/sh
cru a wirelessoff "0 23 * * * /jffs/scripts/wirelessoff.sh"
cru a wirelesson "0 6 * * * /jffs/scripts/wirelesson.sh"
wirelessoff.sh:
#!/bin/sh
nvram set ........
vram commit
service restart......
wirelesson.sh
#!/bin/sh
nvram set .........
nvram commit
service restart........