Skip to content

Commit

Permalink
Enable bmx6 sms plugin by default
Browse files Browse the repository at this point in the history
Set bmx6 syslog=0 to avoid flooding logread

Signed-off-by: Pau Escrich <p4u@dabax.net>
  • Loading branch information
p4u committed Mar 23, 2017
1 parent 5c65c4d commit 7a563f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/lime-proto-bmx6/src/bmx6.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function bmx6.configure(args)
uci:set(bmx6.f, "general", "dbgMuteTimeout", "1000000")
uci:set(bmx6.f, "general", "tunOutTimeout", "100000")
uci:set(bmx6.f, "general", "configSync", "0")
uci:set(bmx6.f, "general", "syslog", "0")

uci:set(bmx6.f, "main", "tunDev")
uci:set(bmx6.f, "main", "tunDev", "main")
Expand All @@ -39,6 +40,11 @@ function bmx6.configure(args)
uci:set(bmx6.f, "json", "plugin")
uci:set(bmx6.f, "json", "plugin", "bmx6_json.so")

-- Enable sms plugin
uci:set(bmx6.f, "sms", "plugin")
uci:set(bmx6.f, "sms", "plugin", "bmx6_sms.so")


-- Enable tun plugin, DISCLAIMER: this must be positioned before table plugin if used.
-- uci:set(bmx6.f, "ptun", "plugin")
-- uci:set(bmx6.f, "ptun", "plugin", "bmx6_tun.so")
Expand Down

0 comments on commit 7a563f5

Please sign in to comment.