Fix network restart script