Fix disable_network.sh and 'ip' path 47/11447/3
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Sun, 20 Mar 2016 21:23:44 +0000 (22:23 +0100)
committerCarlos Goncalves <carlos.goncalves@neclab.eu>
Tue, 29 Mar 2016 19:45:10 +0000 (21:45 +0200)
commita1bab6ecdfbfaf5521f31d9539e256fc6e0cac29
tree86325cd41d54f06fc2b00dc50ccd4e915b017e01
parent5e00dc425941c2b1971030122eaab83b95eede84
Fix disable_network.sh and 'ip' path

The 'ip' bin file can be located in different paths depending on the Linux
distribution so better not hardcode it to a specific path.

CentOS 6:     /sbin/ip
CentOS 7:     /usr/sbin/ip
Ubuntu 14.04: /sbin/ip

Change-Id: I0b02a221d3367ed4bfd8596992a2774f22138b54
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
tests/run.sh