diff options
-rw-r--r-- | libs/uci/luasrc/model/uci/bind.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/uci/luasrc/model/uci/bind.lua b/libs/uci/luasrc/model/uci/bind.lua index 6f9060d224..84cfc773ff 100644 --- a/libs/uci/luasrc/model/uci/bind.lua +++ b/libs/uci/luasrc/model/uci/bind.lua @@ -45,6 +45,10 @@ function bind.section(self, stype) inst.bind = self inst.stype = stype inst.sid = sid + + if inst._init then + inst:_init(sid) + end end return x end |