openwrt/package/base-files/files/lib
Rosen Penev 8df14c229c base-files/functions.sh: use grep -q instead of []
It's cleaner and faster as it does not need to do extra work.

Also removed $() to avoid executing the output. The shell can handle it.

https://github.com/koalaman/shellcheck/wiki/SC2143

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[correct || to && for one conversion]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-01-18 00:24:06 +01:00
..
functions base-files/system.sh: remove $ in $(()) 2020-01-17 12:17:36 +01:00
preinit dropbear: move failsafe code out of base-files 2020-01-15 20:04:06 +01:00
upgrade base-files: add /usr/share/libubox/jshn.sh to sysupgrade stage2 2019-11-13 18:55:00 +01:00
functions.sh base-files/functions.sh: use grep -q instead of [] 2020-01-18 00:24:06 +01:00