The if statement in cyberpanel.sh is not compatible with the dash shell. It produces the following error:
/etc/profile.d/cyberpanel.sh: 25: [[: not found
This error was triggered for me while trying to edit a netdata config file, as follows:
> /etc/netdata/edit-config health_alarm_notify.conf
This script executes: . /etc/profile
I think the if statement could be changed to:
[ -f /etc/cyberpanel/warning.sh ] && source /etc/cyberpanel/warning.sh
for increased compatibility.