diff --git a/package/ctcgfw/luci-app-qos-gargoyle/luasrc/model/cbi/qos_gargoyle/global.lua b/package/ctcgfw/luci-app-qos-gargoyle/luasrc/model/cbi/qos_gargoyle/global.lua index 0379b4b3bd..b698590be9 100644 --- a/package/ctcgfw/luci-app-qos-gargoyle/luasrc/model/cbi/qos_gargoyle/global.lua +++ b/package/ctcgfw/luci-app-qos-gargoyle/luasrc/model/cbi/qos_gargoyle/global.lua @@ -33,10 +33,10 @@ m = Map(qos_gargoyle, translate("Gargoyle QoS"), translate("Quality of Service (QoS) provides a way to control how available bandwidth is " .. "allocated.")) -s = m:section(SimpleSection, translate("Global Settings")) +s = m:section(TypedSection, 'global', translate("Global Settings")) s.anonymous = true -o = s:option(Button, "_switch", nil, translate("QoS Switch")) +o = s:option(Button, "", translate("QoS Switch")) o.render = function(self, section, scope) if qos_enabled() then self.title = translate("Disable QoS") diff --git a/package/ctcgfw/qos-gargoyle/files/qos_gargoyle.conf b/package/ctcgfw/qos-gargoyle/files/qos_gargoyle.conf index 557ee64efc..c102193856 100644 --- a/package/ctcgfw/qos-gargoyle/files/qos_gargoyle.conf +++ b/package/ctcgfw/qos-gargoyle/files/qos_gargoyle.conf @@ -1,4 +1,6 @@ +config global 'global' + config upload 'upload' option default_class 'uclass_2'