You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
functions base-files/system.sh: remove $ in $(()) 4 years ago
preinit dropbear: move failsafe code out of base-files 4 years ago
upgrade base-files: add /usr/share/libubox/jshn.sh to sysupgrade stage2 5 years ago
functions.sh base-files/functions.sh: use grep -q instead of [] 4 years ago