mirror of
https://github.com/openwrt/luci.git
synced 2025-12-27 16:59:58 +04:00
mosquitto: support notifications_local_only flag
Supported since mosquitto 1.5 released in May 2018, and has long been supported in the init scripts. Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
@@ -161,6 +161,7 @@ OptionalFlag(s, "cleansession", _("Clean session"))
|
||||
OptionalFlag(s, "notifications", _("notifications"),
|
||||
_("Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/<clientid>/state"))
|
||||
s:option(Value, "notification_topic", _("Topic to use for local+remote remote for notifications.")).optional = true
|
||||
OptionalFlag(s, "notification_local_only", _("Notifications local only"), _("Bridge connection states should only be published locally"))
|
||||
|
||||
s:option(Value, "remote_clientid", _("Client id to use on remote end of this bridge connection")).optional = true
|
||||
s:option(Value, "local_clientid", _("Client id to use locally. Important when bridging to yourself")).optional = true
|
||||
|
||||
Reference in New Issue
Block a user