How to disable terminal colors?

Hi all

is there any way to disable terminal colors in OpenWrt 19.07.4?

Can't find config file responsible for that...

Thanks.

What colors?
Could you be more specific?

Probably /etc/profile
(but e.g. putty shows no colors in terminal by default.)

I am talking about this

mkdir -p /etc/profile.d
cat << "EOF" > /etc/profile.d/custom.sh
alias ls="ls --color=never"
EOF
. /etc/profile

Thank you.

1 Like