On 2016/04/22 at 17:09, Minfei Huang wrote:
On 04/21/16 at 03:44pm, Xunlei Pang wrote:
> +
> + # Delete duplicated lines
> + if [ -f "$_dnsfile" ]; then
> + awk '!a[$0]++' $_dnsfile > $_dnsfile.tmp
Hi.
Maybe storing the temporary file to ${initdir}/tmp/ is better. You can
refer to function kdump_install_conf.
This is better, will do
Regards,
Xunlei
Thanks
Minfei