This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ================================================================ | |
| # Cloudflare DDNS Update Script | |
| # Firmware: RouterOS v7.22+ (also works on v7.23) | |
| # Features: In-memory only | No temp files | Auto fetch zone/record IDs | |
| # Config: Only cfToken and cfDomain required | |
| # ================================================================ | |
| # ============ User Config (modify these) ============= | |
| :global cfDDNSToken "your_cloudflare_api_token"; | |
| :global cfDDNSDomain "ddns.example.com"; | |
| :global cfDDNSZoneLabels 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds | |
| index 37630cde66..f90ed13d12 100755 | |
| --- a/target/linux/ramips/base-files/etc/board.d/01_leds | |
| +++ b/target/linux/ramips/base-files/etc/board.d/01_leds | |
| @@ -205,6 +205,9 @@ hc5661a) | |
| ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2" | |
| set_wifi_led "$boardname:blue:wlan2g" | |
| ;; | |
| +hc5611) | |
| + ucidef_set_led_default "system" "system" "$boardname:green:system" "1" |