openwrtv4/package/base-files/files/etc/init.d
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
..
boot base-files, mac80211, broadcom-wl: wifi detection and configuration 2016-11-03 11:08:01 +01:00
done fstools: update to the latest version, makes interrupted first boot more reliable 2015-03-22 15:11:27 +00:00
gpio_switch base-files: gpio switch: check if direction can be set 2018-01-18 07:22:37 +01:00
led base-files: add interval option to netdev LED trigger configuration 2017-11-03 20:04:52 +01:00
sysctl base-files: reduce vm.min_free_kbytes for devices with 32M RAM 2016-09-16 16:44:45 +02:00
sysfixtime base-files: sysfixtime: Keep RTC time in UTC timezone 2016-10-31 16:33:19 +01:00
system merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
umount base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00
urandom_seed base-files: use procd init for urandom_seed 2016-07-27 01:24:54 +02:00