
The restart() function almost never works here - perhaps some part of NM takes a bit too long to stop() and then blocks the start() operation - but "sleep 2" between them makes everything fine.
The restart() function almost never works here - perhaps some part of NM takes a bit too long to stop() and then blocks the start() operation - but "sleep 2" between them makes everything fine.