-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Banner | Error if "CPU temp" and "MOTD" are not selected #3313
Comments
@Joulinar Hmm, that new function assures that previous command outputs are preserved in scrollback buffer since the previous |
I just came across by accident because usually I deselect MOTD and on my VM's I don't have any CPU information. I guess majority of people will have CPU or MOTD selected because usually you will have some CPU information from physical devices. Therefore however for me it's working if I switch to this |
@Joulinar |
+ DietPi-Banner | Always load DietPi-Globals: #3313 + DietPi-Banner | Run G_INIT only on menu calls to allow concurrent banner prints but a single menu call only + DietPi-Banner | Menu calls require root permissions to write to settings files + DietPi-Banner | Only re-obtain network details if resulting file does not exist instead of if it exist
Resolved for v6.29 with: c77812d
|
Hi,
I'm getting following error message as soon as
CPU temp
andMOTD
are not selected withindietpi-banner
/DietPi/dietpi/func/dietpi-banner: line 191: G_TERM_CLEAR: command not found
It seems the issue was introduced with v6.27.2 as I can reproduce it on my VM as well as on the RPi4B running v6.28 but it's not visible on my RPi3B+ running v6.26.3
RPi4B
RPi3B+
As soon as
CPU temp
orMOTD
are selected, the issue is goneLooks like you only calling
dietpi-globals
if one of these 2 options is selected.[[ ${aENABLED[2]} != 1 && ${aENABLED[12]} != 1 || $G_PROGRAM_NAME ]] || . /DietPi/dietpi/func/dietpi-globals
The text was updated successfully, but these errors were encountered: