[LEDE-DEV] sysupgrade send messages to stdout

Luiz Angelo Daros de Luca luizluca at gmail.com
Tue Nov 21 12:17:23 PST 2017


Hello,

I noticed that sysupgrade echo all user messages to stdout.
It even need to deal with output pollution when stdout is used for data
output (like in a backup), by setting verbose to 0.

Would it be any reason for not using stderr? (like "echo 'xxx' >&2")

BTW, sysupgrade filters out /etc/META_[a-zA-Z0-9]* from /etc backup.
I never saw these files. Does anyone know what they are?
Are this filter still relevant?

Regards,

---
     Luiz Angelo Daros de Luca
            luizluca at gmail.com



More information about the Lede-dev mailing list