slackware: add short sleep to initscript during service restart

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.
This commit is contained in:
Robby Workman 2011-01-11 13:48:48 -06:00 committed by Dan Williams
parent 1d56981c8b
commit 2b9392950e

View file

@ -62,6 +62,7 @@ nm_stop()
nm_restart()
{
nm_stop
sleep 2
nm_start
}