armbian-build/packages/bsp/common
Rosen Penev baa6968fc4
Shellcheck fixes on armbianmonitor (#3994)
* 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>
2022-07-14 10:12:24 +02:00
..
etc packages/bsp/common: use iw instead of iwconfig (#3995) 2022-07-14 10:12:13 +02:00
lib Revert "modifications of firstrun scripts (#3642)" (#3772) 2022-05-08 13:49:05 -04:00
usr Shellcheck fixes on armbianmonitor (#3994) 2022-07-14 10:12:24 +02:00
var/lib/polkit-1/localauthority/50-local.d Adding printing support to Desktop image, 881x driver to Rockchip NEXT, hide few items in applications menu 2017-11-30 07:29:36 +01:00