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)
committerJonas Gorski <jonas.gorski@gmail.com>
Sun, 11 Jun 2017 10:50:14 +0000 (12:50 +0200)
commitfd952c7a83e5357f5dcab28c0bcaca756e27eaa0
tree8478e26885f7374c670557149c2297b64ded8a97
parentb43c190079eb32eb19e1ba7d550c420933c182ad
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>
package/base-files/files/lib/preinit/10_indicate_preinit