Here is 1 public repository matching this topic... OpenWrt App Packages by Lienol 含passwall版本的备份留存 openwrtlucipasswallluci-compatlieonllienol-openwrtluci-lib-ipkg UpdatedFeb 16, 2022 Shell Add a description, image, and links to theluci-lib-ipkgtopic page so that developers can more ea...
opkg install luci-lib-ipkg wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk opkg install luci-theme-argon*.ipk 安装luci-app-argon-config wget --no-check-certificate https://github.com/jerrykuku/luci-app-argon...
[-n"$${IPKG_INSTROOT}"]||{\ rm-f/tmp/luci-indexcache.* rm-rf/tmp/luci-modulecache/ killall-HUPrpcd2>/dev/null exit0 } endef endif # some generic macros that can be used by all packages ifeq($(LUCI_MINIFY_LUA),1) defineSrcDiet ...
各种自用 插件 定时设置 高级设置 luci-app-cupsd luci-app-ddns-go luci-app-autotimeset luci-app-netdata luci-app-partexp luci-app-wizard luci-app-dockerman - op-package/luci-lib-ipkg at 32e27852ff90f1db5d69a9c154ca46984a656e5d · vinsonma/op-package
第三种主要应用在配置界面,比如写为“cbi("myapp/mymodule")”就可以调用/usr/lib/lua/luci/model/cbi/myapp/mymodule.lua文件了。 title和order是针对管理员菜单的,其中的title即是显示在网页上的内容。这里我们创建“/usr/lib/lua/luci/controller/loogson.lua”文件,定义我们的入口为“loogson”。
local ipkg = require("luci.model.ipkg") local submit = luci.http.formvalue("submit") local changes = false local install = { } local remove = { } local stdout = { "" } local stderr = { "" } local out, err -- Display
- 0.11.1-1luci-i18n-english - 0.11.1-1luci-lib-ipkg- 0.11.1-1luci-lib-sys - 浏览0提问于2013-11-17得票数 0 2回答 使用bash脚本显示不在另一个配置中的配置文件中的指令(行) 、、 因此,我正在处理OpenWRT配置文件。‘)通常在这个文件中有值(但这并不重要),但是它们可以被注释掉,并且可以是...
内容如下: #!/bin/sh uci batch -EOF set luci.themes.MyTheme=/luci-static/mytheme commit luci EOF 最后,在ipkg/ 目录下添加postinst 文件(即ipkg/postinst ),内容如下: #!/bin/sh [ -n ${IPKG_INSTROOT} ] || { ( . /etc/uci-defaults/luci-theme-mytheme ) rm -f /etc/uci-defaults/...
2、 Lua 5.1.x、liblua5.1-0-dev 等库。 这里针对笔者的 CentOS 5.2 系统特别说明下: 1、 通过 yum install lua 更新的 Lua 程序(5.2.2),发现无法与 luci-0.11 配合使用。于是笔者把 Lua 的版本降为 5.1.4(通过源码编译的方式:/ftp/lua-5.1.4.tar.gz) ,最 终调试 OK。 2、 在 CentOS 系统里,...
2) 第1行定义了模块的入口。即“/usr/lib/lua/luci/controller/admin”所示的目录下建立一个loogson.lua文件。如果程序比较多,可能分为好几个模块,那么可以在controller下再建立一个子目录,比如controller/loogsonapp/,那么就可以写成“luci.controller.loogsonapp.loogson”。