Dietpi: Cannot change the "CPU Min Freq Limit"

Created on 6 Apr 2018  ·  2Comments  ·  Source: MichaIng/DietPi

Creating a bug report/issue:

Required Information:

  • DietPi Version 6.6
  • SBC Device RPi 2 B+
  • Power supply used 5v 3A
  • SD card used Microdrive 8GB [Classe 10]
  • Distro Dietpi 6.6

Expected behaviour:

Ability to select the CPU Min Freq Limit

Actual behaviour:

It crashes with this error ;

/DietPi/dietpi/dietpi-config: array assign: line 1916: syntax error near unexpected token (' /DietPi/dietpi/dietpi-config: array assign: line 1916:=("$(( ${available_frequency_array[$i]} / 1000 ))" "MHz"'

Extra details:

This error comes on a freshly installed Dietpi 6.6 with the Nextcloud package also installed and running
Link to the configutation https://imgur.com/a/WUf1K

Bug Solution available Whoopsie!

Most helpful comment

@Fray2000
Oh yeah, this looks like a typo, thanks for reporting this, I will send commit to fix it for v6.7. You can fix it manually until then:

€: Fixed: https://github.com/Fourdee/DietPi/commit/4dcc8b0e2cfb24ee4f793598e1fa8a55633a03ed (the parenthesis changes are just for cosmetic/consistency)

All 2 comments

@Fray2000
Oh yeah, this looks like a typo, thanks for reporting this, I will send commit to fix it for v6.7. You can fix it manually until then:

€: Fixed: https://github.com/Fourdee/DietPi/commit/4dcc8b0e2cfb24ee4f793598e1fa8a55633a03ed (the parenthesis changes are just for cosmetic/consistency)

Confirmed working on RPi 3.

@MichaIng

Legend, many thanks for fixing this 👍

Was this page helpful?
0 / 5 - 0 ratings