You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
board.d base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
hotplug.d/net sysctl: read settings from /etc/sysctl.d/*.conf 9 years ago
init.d base-files: gpio switch: check if direction can be set 6 years ago
iproute2 base-files: add /etc/iproute2/rt_protos 8 years ago
rc.button base-files: Ensure reset only works if an overlay exists 8 years ago
sysctl.d sysctl: read settings from /etc/sysctl.d/*.conf 9 years ago
uci-defaults base-files: fix user creation on sysupgrade with few opkg control files 7 years ago
banner merge: release/banner: drop release name and update banner 7 years ago
banner.failsafe failsafe-mode: print short help on commandline 10 years ago
device_info base-files: add URL option for OEM manufacturer info 9 years ago
diag.sh base-files: make diag.sh stub working in bash 15 years ago
fstab base-files: remove fstab symlink 8 years ago
group base-files: add "tty" user group 7 years ago
hosts base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2 9 years ago
inittab image / basefiles: make console password configurable 8 years ago
openwrt_release merge: properly remove %n / %N references 7 years ago
openwrt_version build: adjust version number handling 8 years ago
os-release base-files: Add standard os-release file 8 years ago
passwd base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. 13 years ago
preinit preinit: use only the image config options 8 years ago
profile base-files: fix logic when to show failsafe banner 7 years ago
protocols base-files: add DCCP to /etc/protocols 9 years ago
rc.common base-files: protect stop and reload actions with procd_lock 7 years ago
rc.local base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts 15 years ago
services base-files: add submission service port 7 years ago
shadow the root password should be empty for real, like before 10 years ago
shells rename default/ to files/ 18 years ago
sysctl.conf basefiles: allow suid coredumps 7 years ago
sysupgrade.conf base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles 14 years ago