base-files: board.json's switch reset means existence, not argument
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 11 Jun 2017 10:50:14 +0000 (12:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 14:58:35 +0000 (15:58 +0100)
commit9c3e4b54343b85cc24cf231a7a863ffafeb1f287
tree664ffe2405cce877202624c2631a719b51ba0076
parent7d1f4073ce8085fa1c6bf81ddfa2e9b5cb1cc330
base-files: board.json's switch reset means existence, not argument

Don't pass the value unconditionally to swconfig as a parameter but
instead only call reset if it is 1.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
(cherry picked from commit fd952c7a83e5357f5dcab28c0bcaca756e27eaa0)
package/base-files/files/lib/preinit/10_indicate_preinit