RE: [PATCH net-next] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread Haiyang Zhang
Subject: Re: [PATCH net-next] tools: hv: Add clean up for included files > in Ubuntu net config > > From: Haiyang Zhang > Date: Fri, 12 May 2017 07:13:33 -0700 > > > > > + local fn > > + for fn in "${fnlist[@]}" > > + do > > awk

Re: [PATCH net-next] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread David Miller
From: Haiyang Zhang Date: Fri, 12 May 2017 07:13:33 -0700 > > + local fn > + for fn in "${fnlist[@]}" > + do > awk "/$nic_end/{x=0} x{next} /$nic_start/{x=1;next} 1" $fn >$tmpfl > > cp $tmpfl $fn > + done Please indent the body of this loop properly.

[PATCH net-next] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread Haiyang Zhang
From: Haiyang Zhang The clean up function is updated to cover duplicate config info in files included by "source" key word in Ubuntu network config. Signed-off-by: Haiyang Zhang --- tools/hv/bondvf.sh | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/tool