base-files: remove some bashisms
authorSven Roederer <devel-sven@geroedel.de>
Wed, 25 Dec 2019 17:39:00 +0000 (18:39 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 26 Jan 2020 20:51:24 +0000 (21:51 +0100)
commit0fecc997f88b7f0a44c0f724d6de30083a14b908
tree441013bbd5d10465d92d6dc952fa09dd7691c8d6
parenteec50c73c4c9cca89a4bca13a40517b262192fea
base-files: remove some bashisms

"[[" is a bash extension for test. As the ash-implementation is
not fully compatible we drop its usage.
Also change to "=" for simple test, which is sufficient. (see d6ac8ca76c04ed)

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
[split patch, removed shebang]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/files/lib/functions/caldata.sh