GithubHelp home page GithubHelp logo

luci-app-chinadns-ng's Introduction

LuCI Interface for ChinaDNS Next Generation for OpenWrt

简介

此仓库克隆自:https://github.com/pexcn/openwrt-chinadns-ng/tree/luci

本项目为 openwrt-chinadns-ng 提供 LuCI 接口。

编译

从 OpenWrt 的 SDK 编译

cd openwrt-sdk

# 获取源码
git clone https://github.com/izilzty/luci-app-chinadns-ng.git package/luci-app-chinadns-ng

# 选中 LuCI -> Applications -> luci-app-chinadns-ng
make menuconfig

# 编译 luci-app-chinadns-ng
make package/luci-app-chinadns-ng/{clean,compile} V=s

配置应用后自动重启

如果想要在配置应用后自动重启 ChinaDNS-NG ,则需要添加一个触发器用来重启服务,否在在配置应用后需要手动重启 ChinaDNS-NG 才可以加载新配置。 您可以选择其中一种:

  • 编译并安装这个修改好的 ChinaDNS-NG 包: https://github.com/izilzty/openwrt-chinadns-ng.git

  • 手动编辑已经安装好的 ChinaDNS-NG 文件: 打开 /etc/init.d/chinadns-ng,将下面的代码添加到文件最后,完成后保存文件并手动重启一下 ChinaDNS-NG 的服务或者重启系统。

    service_triggers() {
            procd_add_reload_trigger "chinadns-ng"
    }
    

鸣谢

luci-app-chinadns-ng's People

Contributors

izilzty avatar 02015678 avatar litinglin avatar pexcn avatar silent-x avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.