ramips: preinit: use iproute2 instead of vconfig
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)
commitea0e9643ba8cf95c41693f9315c5ce86ed297b09
treee2a29c38d58845c6252cc23656a8b0db7bf7c9f5
parent4ac6b1ad1b939392b044e6ed500d3604e9c7a395
ramips: preinit: use iproute2 instead of vconfig

Replace use of vconfig with the corresponding iproute2 syntax in
/lib/preinit/07_set_preinit_iface_ramips

The switch reset work-around needed on some ramips targets used the
deprecated vconfig tool to bring up the pre-init/failsafe interface.
This doesn't work on recent builds where vconfig is no longer being
deployed, resulting in the device being unreachable when triggered
into failsafe mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47349 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips