You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2013 OpenWrt.org
|
|
#
|
|
|
|
. /lib/ramips.sh
|
|
|
|
ramips_set_preinit_iface() {
|
|
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
|
|
if [ -n "${RT3X5X}" ]; then
|
|
swconfig dev rt305x set reset 1
|
|
fi
|
|
|
|
ifname=eth0
|
|
}
|
|
|
|
boot_hook_add preinit_main ramips_set_preinit_iface
|