openwrt/package/base-files/files
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
..
bin base-files: config_generate: split macaddr with multiple ifaces 2019-11-23 11:58:27 +01:00
etc base-files: move /tmp/resolv.conf.auto to /tmp/resolv.conf.d/ 2020-01-07 15:36:03 +02:00
lib base-files/functions.sh: use grep -q instead of [] 2020-01-18 00:24:06 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: use jshn lib for ubus sysupgrade argument generation 2020-01-14 00:06:03 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00