mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Sun Feb 9 19:32:04 CET 2025
This commit is contained in:
@@ -30,7 +30,7 @@ function log(...)
|
||||
end
|
||||
|
||||
function is_old_uci()
|
||||
return sys.call("grep 'require \"uci\"' /usr/lib/lua/luci/model/uci.lua >/dev/null 2>&1") == 0
|
||||
return sys.call("grep -E 'require[ \t]*\"uci\"' /usr/lib/lua/luci/model/uci.lua >/dev/null 2>&1") == 0
|
||||
end
|
||||
|
||||
function uci_save(cursor, config, commit, apply)
|
||||
|
||||
Reference in New Issue
Block a user