Skip to content

Commit

Permalink
Update README.adoc
Browse files Browse the repository at this point in the history
fixes plugin typo
  • Loading branch information
javierbrk authored May 9, 2024
1 parent 131f4a2 commit 2e744b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shared-state-async/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ https://openwrt.org/docs/guide-developer/gdb
VoCore2: Develop for OpenWrt on Qt Creator
https://vonger.cn/?p=14657

=== Pulggin related notes
=== Plugin related notes
Plugins must be registered into shared state by using the config file. UCI infrastructure is preferred

mSc="pluggin_name"
mSc="plugin_name"

uci set shared-state.${mSc}=dataType
uci set shared-state.${mSc}.name='pluggin-name'
uci set shared-state.${mSc}.name='plugin-name'
uci set shared-state.${mSc}.scope='community'
uci set shared-state.${mSc}.ttl='1200'
uci set shared-state.${mSc}.update_interval='120'
Expand Down

0 comments on commit 2e744b8

Please sign in to comment.