base-files: read all 3 bytes in get_magic_vfat() at once
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 4 Jan 2021 00:28:44 +0000 (01:28 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 7 Jan 2021 18:51:50 +0000 (19:51 +0100)
commit81655e1450a80276db32c8a8e10de73a256bc664
treea3219323562bf2038daa4b7c893210fd2de5ab2d
parent51360a913b492d042a697a9658a21f820a027fa1
base-files: read all 3 bytes in get_magic_vfat() at once

While the speed improvement might be negligible, there is still no
reason to read individual bytes.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/Makefile
package/base-files/files/lib/upgrade/common.sh