Change default font terminal in DietPI

Joulinar

Okay I’ve filled the empty space with some useful info provided by DietPi (as space used, processes, packages, etc…)

Weird thing is that when I launch padd (./padd.sh) for one second I have two weird error that I can’t understand :thinking:

./padd.sh: line 24: warning: command substitution: ignored null byte in input
sed: can't read else: No such file or directory

line 24 is:

model=$((cat /proc/device-tree/model) | awk '{print $1$2, $3, $4, $5, $6$7}')

What error is this?

And the sed error also is weird because I don’t have used the sed command :face_with_raised_eyebrow: maybe something related to the other error. But the script works fine, I’m happy with how it looks

Another useful command (to output the power of DietPI :sunglasses: ) would be the

Boot duration systemd-analyze | mawk ‘{print $(NF-1)" "$NF;exit}’

But if I launch it locally (via ssh) to test it, works perfect, If I insert the coda as a variable in the PADD script, it shows nothing.

If you want to try I’ve uploaded the script here: https://dsc.cloud/40973c/padd.sh

Thanks for your help in these thread! I solved all my inital troubles with DietPi :sunglasses: