diff options
author | sharath <sharathkumarboyanapally@gmail.com> | 2018-11-19 20:51:50 +0530 |
---|---|---|
committer | sharath <sharathkumarboyanapally@gmail.com> | 2018-12-03 09:38:59 +0530 |
commit | f35c043fd045b77fa81a76e477fbe10f32ec58d3 (patch) | |
tree | 614c9df3907e50857af003ddb4e28fb89a92f6ed /stacks/lwip_stack/vagrant/start_nstackMain.sh | |
parent | 960e7c662a8981a563f692f4dcdd221f1cfd3783 (diff) |
Fix: removing unwanted json elements
Change-Id: Id77dd8100bf1a8474b2a6d4f08be1adbc313064e
Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'stacks/lwip_stack/vagrant/start_nstackMain.sh')
-rwxr-xr-x | stacks/lwip_stack/vagrant/start_nstackMain.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/stacks/lwip_stack/vagrant/start_nstackMain.sh b/stacks/lwip_stack/vagrant/start_nstackMain.sh index 00d4370..0c6d0a4 100755 --- a/stacks/lwip_stack/vagrant/start_nstackMain.sh +++ b/stacks/lwip_stack/vagrant/start_nstackMain.sh @@ -68,21 +68,9 @@ chmod 775 * cp ./configure/*.json bin/ cd bin -if [ "$OS_ID" == "centos" ]; then - sed -i 's!eth7!'$ifname'!1' ip_data.json -elif [ "$OS_ID" == "ubuntu" ]; then - sed -i 's!eth7!'$ifname'!1' ip_data.json -fi - -sed -i 's!00:54:32:19:3d:19!'$ifmac'!1' ip_data.json sed -i 's!192.168.1.207!'$ifaddress1'!1' ip_data.json sed -i 's!192.168.1.1!'$ifaddresscut'.0!1' network_data_tonStack.json -sed -i 's!192.168.1.254!'$ifaddresscut'.1!1' network_data_tonStack.json -sed -i 's!192.168.1.098!'$ifaddresscut'.5!1' network_data_tonStack.json -sed -i 's!192.168.1.209!'$ifaddresscut'.254!1' network_data_tonStack.json -sed -i 's!192.168.1.0!'$ifaddresscut'.0!1' network_data_tonStack.json -sed -i 's!192.168.1.254!'$ifaddresscut'.1!1' network_data_tonStack.json if [ "$OS_ID" == "centos" ]; then sed -i 's!eth7!'$ifname'!1' network_data_tonStack.json |