openwrt-wan-reconnect

module
v0.0.0-...-a762c58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: GPL-3.0

README

OpenWRT-WAN-reconnect

GoTemplate

Reconnecting the PPPoE interface in luci when the Internet is not available.

The project uses make to make your life easier. If you're not familiar with Makefiles you can take a look at this quickstart guide.

Whenever you need help regarding the available actions, just use the following command.

make help

Setup

To get your setup up and running the only thing you have to do is

make all

This will initialize a git repo, download the dependencies in the latest versions and install all needed tools. If needed code generation will be triggered in this target as well.

Run

make run

Test & lint

Run linting

make lint

Run tests

make test

detector

http

detector:
    type: "http"
    url: "http://baidu.com"

connector

ssh

type: "ssh"
host: "192.168.1.1:22"
username: "root"
password: "123456"

clash

type: "clash"
host: "http://192.168.1.1:9090"
token: "123456"
selector: "selector"

Directories

Path Synopsis
cmd
internal
cfg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL