Skip to content

Commit

Permalink
rssidleds: workaround high cpu load bug
Browse files Browse the repository at this point in the history
Workaround for high cpu load bug till https://bugs.openwrt.org/index.php?do=details&task_id=3708 is fixed.

In /etc/config/system change rssid_wlan0 option dev 'wlan0' to 'wlan0-mesh-2'.

Fixes freifunk-berlin#142.

Signed-off-by: everloop2 <[email protected]>
  • Loading branch information
everloop2 authored Apr 3, 2021
1 parent 8bc0513 commit 9055d53
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ if [ $(uci get system.@system[0].hostname) = OpenWrt ]; then
uci commit system
fi

# led: set rssid_wlan0 to wlan0-mesh-2, workaround for high cpu load bug (https://github.com/Freifunk-Spalter/packages/issues/142)
if [ $(uci get system.@rssid[0].dev) = wlan0 ]; then
uci set system.@rssid[0].dev=wlan0-mesh-2
uci commit system
fi

guard "system"

uci set system.ntp.use_dhcp='0'
Expand Down

0 comments on commit 9055d53

Please sign in to comment.