script for restarting network interfaces