# Copyright (C) 2011 OpenWrt.org
#
-. /lib/functions/uci-defaults-new.sh
+. /lib/functions/uci-defaults.sh
board_config_update
netgear,r8000)
ifname=eth2
;;
+netgear,r8500)
+ ifname=eth2
+ ;;
*)
ifname=eth0
;;
;;
esac
-ucidef_set_interface_loopback
-
# Workaround for devices using CPU port 8 (connected to eth2)
case "$board" in
netgear,r8000)