summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-29 13:19:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-29 13:19:23 +0000
commit438180ead424ad61d2ad47c5f9d4b5da7ec4e1de (patch)
tree434dc3e9ce89666b832ba28c43d58bfd8b97664c
parent7a3715c5c576c5b64884bca7802f9ddd04c4fe72 (diff)
modules/admin-{core,full}: cover new openwrt option "cronloglevel"
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/system8
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/system.lua1
2 files changed, 9 insertions, 0 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/system b/modules/admin-core/root/lib/uci/schema/default/system
index 28fee1c2e..13339ee06 100644
--- a/modules/admin-core/root/lib/uci/schema/default/system
+++ b/modules/admin-core/root/lib/uci/schema/default/system
@@ -47,6 +47,14 @@ config variable
option description 'Level of log messages on the console'
option datatype integer
+config variable
+ option name 'cronloglevel'
+ option section 'system.system'
+ option title 'Crond log level'
+ option description 'Level of log messages for cron daemon'
+ option datatype integer
+
+
config section
option name 'led'
option package 'system'
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
index 681468064..b3c2a4e86 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@ -76,4 +76,5 @@ end
s:option(Value, "log_size", nil, "kiB").optional = true
s:option(Value, "log_ip").optional = true
s:option(Value, "conloglevel").optional = true
+s:option(Value, "cronloglevel").optional = true
return m