make it one bit less ar71xx dependent
This commit is contained in:
parent
798860d56d
commit
e14ac06e8c
@ -10,31 +10,33 @@ rootUUID=05d615b3-bef8-460c-9a23-52db8d09e000
|
|||||||
dataUUID=05d615b3-bef8-460c-9a23-52db8d09e001
|
dataUUID=05d615b3-bef8-460c-9a23-52db8d09e001
|
||||||
swapUUID=05d615b3-bef8-460c-9a23-52db8d09e002
|
swapUUID=05d615b3-bef8-460c-9a23-52db8d09e002
|
||||||
|
|
||||||
. /lib/ar71xx.sh
|
if [ -f /lib/ar71xx.sh ]; then
|
||||||
|
. /lib/ar71xx.sh
|
||||||
|
|
||||||
# let's try some defaults...
|
# let's attempt to define some defaults...
|
||||||
autoprovisionUSBLed="tp-link:green:usb"
|
autoprovisionUSBLed="tp-link:green:usb"
|
||||||
autoprovisionStatusLed="tp-link:green:qss"
|
autoprovisionStatusLed="tp-link:green:qss"
|
||||||
|
|
||||||
# CUSTOMIZE
|
# CUSTOMIZE
|
||||||
case $(ar71xx_board_name) in
|
case $(ar71xx_board_name) in
|
||||||
"tl-wr1043nd")
|
"tl-wr1043nd")
|
||||||
autoprovisionUSBLed="tp-link:green:usb"
|
autoprovisionUSBLed="tp-link:green:usb"
|
||||||
autoprovisionStatusLed="tp-link:green:qss"
|
autoprovisionStatusLed="tp-link:green:qss"
|
||||||
;;
|
;;
|
||||||
"tl-mr3020")
|
"tl-mr3020")
|
||||||
autoprovisionUSBLed="tp-link:green:wps"
|
autoprovisionUSBLed="tp-link:green:wps"
|
||||||
autoprovisionStatusLed="tp-link:green:wlan"
|
autoprovisionStatusLed="tp-link:green:wlan"
|
||||||
;;
|
;;
|
||||||
"tl-wr2543n")
|
"tl-wr2543n")
|
||||||
autoprovisionUSBLed="tp-link:green:wps"
|
autoprovisionUSBLed="tp-link:green:wps"
|
||||||
autoprovisionStatusLed="tp-link:green:wlan5g"
|
autoprovisionStatusLed="tp-link:green:wlan5g"
|
||||||
;;
|
;;
|
||||||
"tl-wdr4300")
|
"tl-wdr4300")
|
||||||
autoprovisionUSBLed="tp-link:blue:wan"
|
autoprovisionUSBLed="tp-link:blue:wan"
|
||||||
autoprovisionStatusLed="tp-link:blue:qss"
|
autoprovisionStatusLed="tp-link:blue:qss"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
log()
|
log()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user