Added function to update /etc/sysconfig/network