openwrtv4/package/base-files/files
Mathias Kresin acafbac4b3 base-files: gpio switch: check if direction can be set
Obviously not all GPIO controller allow to change the direction. The issue
is around since the beginning of the script but only due to the recent
changes error messages are more visible.

Add a check if a change of the direction is supported by the GPIO
controller and fallback to setting only the value if not.

Fixes: FS#1271
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-01-18 07:22:37 +01:00
..
bin linux-atm: add br2684ctl option to specify the netdev name 2018-01-10 08:08:53 +01:00
etc base-files: gpio switch: check if direction can be set 2018-01-18 07:22:37 +01:00
lib linux-atm: add br2684ctl option to specify the netdev name 2018-01-10 08:08:53 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: correct command help text 2018-01-12 16:06:04 +01:00
usr base-files: remove remaining uses of %N, and drop VERSION_NICK config symbol 2017-12-09 23:27:41 +01:00