base-files: LED/gpio: Ensure inverted is read as a boolean
authorOlliver Schinagl <oliver@schinagl.nl>
Sun, 31 Jul 2022 08:19:09 +0000 (10:19 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Aug 2022 17:58:46 +0000 (19:58 +0200)
commitb8f27251c9f755f7219391daa0e15318a12972a3
treec871464d1efcf8837975265b23f51fa057ef4e4a
parentccff2fbaea50ae983a25483a40ae2dbaeeca5581
base-files: LED/gpio: Ensure inverted is read as a boolean

The sysfs interface for the GPIO takes a boolean value. Ensure we get
one from uci.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
package/base-files/files/etc/init.d/led