Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 11025

Stealth Mode (Timer function) RT-N66

$
0
0
Turn your lan leds off/on.
All credits to RMerlin.
https://github.com/RMerl/asuswrt-merlin/issues/138

services-start:
Code:
#!/bin/sh
cru a lightsoff 0 18 * * * "/jffs/scripts/ledsoff.sh"
cru a lightson 0 6 * * * "/jffs/scripts/ledson.sh"
ledsoff.sh:
Code:
#!/bin/sh
nvram set led_disable=1
nvram commit
service restart_leds
ledson.sh:
Code:
#!/bin/sh
nvram set led_disable=0
nvram commit
service restart_leds

Viewing all articles
Browse latest Browse all 11025

Trending Articles