Skip to content

Commit

Permalink
fix: 恢复插件
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed May 14, 2022
1 parent a1c0e32 commit ad2e7b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/dgiot/conf/loaded_plugins.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
{dgiot_modbus, {{enable_plugin_dgiot_modbus}}}.
{dgiot_bamis, {{enable_plugin_dgiot_bamis}}}.
{dgiot_dlink, {{enable_plugin_dgiot_dlink}}}.
{dgiot_hjt212, {{enable_plugin_dgiot_hjt212}}}.
{dgiot_hjt212, {{enable_plugin_dgiot_hjt212}}}.
{dgiot_bacnet, {{enable_plugin_dgiot_bacnet}}}.
2 changes: 2 additions & 0 deletions apps/dgiot/conf/rebar.config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ overlay_vars_rel(RelType) ->
, {enable_plugin_dgiot_gb26875, true}
, {enable_plugin_dgiot_hjt212, true}
, {enable_plugin_dgiot_bacnet, true}
, {enable_plugin_dgiot_bamis, true}
, {vm_args_file, VmArgs}
].

Expand Down Expand Up @@ -350,6 +351,7 @@ relx_plugin_apps_per_rel(cloud) ->
, dgiot_gb26875
, dgiot_hjt212
, dgiot_bacnet
, dgiot_sinmahe
];
relx_plugin_apps_per_rel(edge) ->
[].
Expand Down
2 changes: 1 addition & 1 deletion data/loaded_plugins.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
{dgiot_device, {{enable_plugin_dgiot_device}}}.
{dgiot_task, {{enable_plugin_dgiot_task}}}.
{dgiot_http, {{enable_plugin_dgiot_http}}}.
{dgiot_bamis, {{enable_plugin_dgiot_bamis}}}.
{dgiot_topo, {{enable_plugin_dgiot_topo}}}.
{dgiot_bamis, {{enable_plugin_dgiot_bamis}}}.
{dgiot_dlink, {{enable_plugin_dgiot_dlink}}}.
{dgiot_ffmpeg, {{enable_plugin_dgiot_ffmpeg}}}.
{dgiot_opc, {{enable_plugin_dgiot_opc}}}.
Expand Down
2 changes: 2 additions & 0 deletions rebar.config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ overlay_vars_rel(RelType) ->
, {enable_plugin_dgiot_gb26875, true}
, {enable_plugin_dgiot_hjt212, true}
, {enable_plugin_dgiot_bacnet, true}
, {enable_plugin_dgiot_bamis, true}
, {vm_args_file, VmArgs}
].

Expand Down Expand Up @@ -350,6 +351,7 @@ relx_plugin_apps_per_rel(cloud) ->
, dgiot_gb26875
, dgiot_hjt212
, dgiot_bacnet
, dgiot_sinmahe
];
relx_plugin_apps_per_rel(edge) ->
[].
Expand Down

0 comments on commit ad2e7b3

Please sign in to comment.