Devices with wifi (LicheePi RV and MangoPi MQ Pro) were using the wrong module. Also wpad was missing to enable using the WiFi. Signed-off-by: Raylynn Knight <rayknight@me.com> Link: https://github.com/openwrt/openwrt/pull/17576 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
22 lines
291 B
Bash
22 lines
291 B
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2013-2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
sipeed,lichee-rv-dock |\
|
|
widora,mangopi-mq-pro)
|
|
ucidef_set_interface_lan "wlan0"
|
|
;;
|
|
*)
|
|
ucidef_set_interface_lan 'eth0'
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|