mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* mdadm-fault-led: port to dash Also ran through shellcheck. dash is faster and uses less RAM than bash. Signed-off-by: Rosen Penev <rosenp@gmail.com> * armbianmonitor: get rid of pipe to /dev/null shellcheck warns that it can't parse this. Also seems to be a mistake. Signed-off-by: Rosen Penev <rosenp@gmail.com> * armbianmonitor: replace egrep with grep -E The former is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com> * armbianmonitor: add -r to read Avoids mangling backslashes. Signed-off-by: Rosen Penev <rosenp@gmail.com> * armbianmonitor: remove unnecessary ${} They're in $(()) making it redundant Signed-off-by: Rosen Penev <rosenp@gmail.com> * armbianmonitor: simplify various printf calls For some reason, printf and echo -e get mixed together even though they do the same thing. Just use printf. Signed-off-by: Rosen Penev <rosenp@gmail.com>