difos/target/linux/d1/base-files/etc/board.d/02_network
Raylynn Knight 8a17bae722 d1: Use correct module for devices with wifi
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>
2025-01-13 23:38:19 +01:00

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