mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 10:24:51 +00:00
ramips: remove stale get_status_led call
The get_status_led() function was removed due to the convertion to dts
alias based status led.
Since we don't need the boardname any longer, the functions.sh include
isn't required any more.
Fixes: c9c4b2116c
("ramips: Use dts alias based status led")
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
3716b5e4e6
commit
4cbf5601f9
@ -1,14 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) 2010-2013 OpenWrt.org
|
# Copyright (C) 2010-2013 OpenWrt.org
|
||||||
|
|
||||||
. /lib/functions.sh
|
|
||||||
. /lib/functions/leds.sh
|
. /lib/functions/leds.sh
|
||||||
|
|
||||||
status_led="$(get_dt_led status)"
|
status_led="$(get_dt_led status)"
|
||||||
|
|
||||||
set_state() {
|
set_state() {
|
||||||
get_status_led $1
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
preinit)
|
preinit)
|
||||||
status_led_blink_preinit
|
status_led_blink_preinit
|
||||||
|
Loading…
Reference in New Issue
Block a user