Skip to content

Commit

Permalink
ref_state: clean up unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrk committed Aug 15, 2024
1 parent c27def8 commit e27ba12
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/sh
unique_append()
{
grep -qF "$1" "$2" || echo "$1" >> "$2"
}

## information generator datatype
uci set shared-state.babel_links_info=dataType
uci set shared-state.babel_links_info.name='babel_links_info'
uci set shared-state.babel_links_info.scope='community'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#!/bin/sh

unique_append()
{
grep -qF "$1" "$2" || echo "$1" >> "$2"
}
## information generator datatype
uci set shared-state.bat_links_info=dataType
uci set shared-state.bat_links_info.name='bat_links_info'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/sh

unique_append()
{
grep -qF "$1" "$2" || echo "$1" >> "$2"
}

## information generator datatype
uci set shared-state.node_info=dataType
uci set shared-state.node_info.name='node_info'
uci set shared-state.node_info.scope='community'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#!/bin/sh

unique_append()
{
grep -qF "$1" "$2" || echo "$1" >> "$2"
}

uci set shared-state.wifi_links_info=dataType
uci set shared-state.wifi_links_info.name='wifi_links_info'
uci set shared-state.wifi_links_info.scope='community'
Expand Down

0 comments on commit e27ba12

Please sign in to comment.