mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
f478ec2007
This patch adds support for the Cisco Meraki MX60/MX60W Security Appliance. Flashing information can be found at https://github.com/riptidewave93/LEDE-MX60 Specs are as follows: AppliedMicro APM82181 SoC at 800MHz 1GiB NAND - Samsung K9K8G08U0D 512MB DDR RAM - 4x Nanya NT5TU128M8GE-AC Atheros AR8327-BL1A Gigabit Ethernet Switch 1x USB 2.0 Port More info can be found at https://wiki.openwrt.org/toh/meraki/mx60 Cc: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
43 lines
448 B
Bash
Executable File
43 lines
448 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /lib/functions/leds.sh
|
|
. /lib/apm821xx.sh
|
|
|
|
get_status_led() {
|
|
local board=$(apm821xx_board_name)
|
|
|
|
case $board in
|
|
mbl|\
|
|
mr24|\
|
|
mx60|\
|
|
wndr4700)
|
|
status_led="$board:green:power"
|
|
;;
|
|
|
|
*)
|
|
;;
|
|
esac
|
|
}
|
|
|
|
set_state() {
|
|
get_status_led
|
|
|
|
case "$1" in
|
|
preinit)
|
|
status_led_blink_preinit
|
|
;;
|
|
|
|
failsafe)
|
|
status_led_blink_failsafe
|
|
;;
|
|
|
|
preinit_regular)
|
|
status_led_blink_preinit_regular
|
|
;;
|
|
|
|
done)
|
|
status_led_on
|
|
;;
|
|
esac
|
|
}
|