ramips: preinit: use iproute2 instead of vconfig
authorJohn Crispin <john@openwrt.org>
Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)
commit907c67fa87143dacd91cc4370f6b85a8fb3d0d12
treed9f2f686cb61740a14eddb6171a12d7c7da75739
parent3760b95702b65de9d6d0f6a1029a654e3b11f72f
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>
SVN-Revision: 47349
target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips