armbian-build/packages/bsp/mvebu/helios4
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
..
90-helios4-hwmon.rules [ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946) 2020-05-13 11:44:44 +08:00
armbian-motd [ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946) 2020-05-13 11:44:44 +08:00
fancontrol_pwm-fan.conf [ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946) 2020-05-13 11:44:44 +08:00
fancontrol.service [ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946) 2020-05-13 11:44:44 +08:00
helios4-wol.service [ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946) 2020-05-13 11:44:44 +08:00
mdadm-fault-led.sh Shellcheck fixes on armbianmonitor (#3994) 2022-07-14 10:12:24 +02:00