add led blink support

This commit is contained in:
Shaun Mulligan 2017-07-27 20:16:13 +02:00
parent 175b923f41
commit 20b3c34d47
5 changed files with 20 additions and 2 deletions

View file

@ -1 +1,3 @@
LED_FILE_orange-pi-lite = "/sys/devices/platform/leds/leds/orangepi\:red\:status/brightness"
LED_FILE_nanopi-neo-air = "/sys/class/leds/nanopi\:blue\:status/brightness"

View file

@ -0,0 +1,12 @@
#!/bin/sh
#
set -e
# Enable bridge netfilter module
modprobe br_netfilter
# disable status heartbeat led
echo none >/sys/class/leds/nanopi\:blue\:status/trigger
exit 0

View file

@ -0,0 +1,4 @@
FILESEXTRAPATHS_prepend_nanopi-neo-air := "${THISDIR}/files:"
RDEPENDS_${PN}_append = " kmod"

View file

@ -14,7 +14,7 @@ module.exports =
windows: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#windows'
osx: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#on-mac-and-linux'
linux: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#on-mac-and-linux'
supportsBlink: false
supportsBlink: true
options: [ networkOptions.group ]

View file

@ -14,7 +14,7 @@ module.exports =
windows: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#windows'
osx: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#on-mac-and-linux'
linux: 'http://docs.resin.io/#/pages/installing/gettingStarted.md#on-mac-and-linux'
supportsBlink: false
supportsBlink: true
options: [ networkOptions.group ]