好吧,又长见识了...相见恨晚的赶脚,恩,居然是我喜欢的lua.其主页在这里:http://luci.subsignal.org/ The initial reason for this project was the absence of a free, clean, extensible and easily maintainable web user interface for embedded devices. While most similar configuration inter…
参考: http://wiki.openwrt.org/doc/techref/uc http://luci.subsignal.org/api/luci/modules/luci.model.uci.html lua代码中获取配置文件中的值 local x = require("luci.model.uci").cursor() -- get value local value =x:get("config", "sectionname", &…
make[3]: Entering directory '/home/hbg/test1214/package/feeds/luci/luci'*** Repository layout changed!*** Please change the LuCI url in feeds.conf to http://svn.luci.subsignal.org/luci/trunk and reinstall the feed with*** ./scripts/feeds update luci;…
刚刚下载的openwrt trunk版本,安装后没有luci选项,如下图 需要添加luci页面选项. 步骤如下: (1)修改配置文件 .config , 将 CONFIG_FEED_luci is not set 修改为 CONFIG_FEED_luci=y (2)执行如下命令: ./scripts/feeds update -a ./scripts/feeds install -a (3)再执行 make menuconfig, 可以查看到已经存在luci选项了…
一. 1.复制luci-sc-openvpn源码到/home/tingpan/openwrt/barrier_breaker/feeds/luci/applications文件夹下. 二. /home/tingpan/openwrt/barrier_breaker/feeds/luci/contrib/package/luci-addons中的Makefile文件添加如下内容: $(eval $(call application,sc-openvpn,LuCI Support for OpenV…