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: c9c4b2116c09 ("ramips: Use dts alias based status led")
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
4cbf5601f9621d0f8973237f3133b821f472845c)
#!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
-. /lib/functions.sh
. /lib/functions/leds.sh
status_led="$(get_dt_led status)"
set_state() {
- get_status_led $1
-
case "$1" in
preinit)
status_led_blink_preinit