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
..
bin base-files: config_generate: split macaddr with multiple ifaces 5 years ago
etc base-files: move /tmp/resolv.conf.auto to /tmp/resolv.conf.d/ 4 years ago
lib base-files/functions.sh: use grep -q instead of [] 4 years ago
rom rename default/ to files/ 18 years ago
sbin base-files: use jshn lib for ubus sysupgrade argument generation 4 years ago
usr base-files: validate firmware for compatibility with backup 5 years ago