[OpenWrt-Devel] [PATCH 3/4] uci: add support for speed_mask to switch LED init scripts

Karl Palsson karlp at tweak.net.au
Fri Feb 12 05:38:22 EST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michal <michal.cieslakiewicz at wp.pl> wrote:
>  				echo $port_mask > /sys/class/leds/${sysfs}/port_mask
> +			config_get speed_mask $1 speed_mask
> +			[ -n "$speed_mask" ] && \
> +				echo $speed_mask > /sys/class/leds/${sysfs}/speed_mask
>  			;;

Where does this come from? I don't see it listed in 
https://www.kernel.org/doc/Documentation/leds/leds-class.txt

Cheers,
Karl P

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJWvbYfAAoJEBmotQ/U1cr2Ak8P/0fsBUrH4olOzA1Bo/HJUHWd
VPztP4JkDlWSi9WBAK+th0CXhUcjUtVrkNuulVCMwHVeBAqO8XUC5gk8aN718rS8
1T4G9vxFm7GlZbvJPuJJ9jJLZNsMNNE5dKCJIqhf9PQWA57OUFXeYPd3BjWL5tnJ
0CaFfcdChTPek4IvtHzZv3B0QZWF7xQ7V0VAA3fvh+SJ+3OEt1Dgs8QmGdrCsC1q
Bz0E9/F2Usl7Q4sd5F7as7WVALomAiEpAlu/hVpj0mfkB8oL6EQZySnw7v6clX6M
aESR1M9N2scc1KhfHLu4699kLM4dSgQJELLhIueYecWaBEgDeFoCPYLZzdGq/IWE
gDjxbEh6mnOldlUxsW1YGK6xoVvq50I2qmSiewRkMUwlQq4CRjxMSfRmM+2I4B+O
YNlMknu5eMRhlKcaEvQJnzX6YjeWN1720RZWU/PnE5RPPTvzRUljE0BSS03dnSSL
8+gOxqZ+m1f/qE1MRIOL1xuEtz8RVYi3F7yaLwSOCs9yLZCzR+KbbkdrU2cf7y0/
z+EiHuH99/hW1T58aSt+3oUGurSAZYdR5LXHyboTlYPWrjW2s3bvgqZbSq6DwMnH
Hm/61cr7TdhbEAnpfRV1oImCZp44VD0YHiEnuuIThkniV3Yxkniw7D8LsX6ySn4C
mQRdRCihgwl/PETviQ9T
=Oz3X
-----END PGP SIGNATURE-----
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list