projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d56981
)
slackware: add short sleep to initscript during service restart
author
Robby Workman
<rw@rlworkman.net>
Tue, 11 Jan 2011 19:48:48 +0000
(13:48 -0600)
committer
Dan Williams
<dcbw@redhat.com>
Tue, 11 Jan 2011 19:48:48 +0000
(13:48 -0600)
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.
initscript/Slackware/rc.networkmanager.in
patch
|
blob
|
history
diff --git
a/initscript/Slackware/rc.networkmanager.in
b/initscript/Slackware/rc.networkmanager.in
index
35c42a4
..
6eed87e
100644
(file)
--- a/
initscript/Slackware/rc.networkmanager.in
+++ b/
initscript/Slackware/rc.networkmanager.in
@@
-62,6
+62,7
@@
nm_stop()
nm_restart()
{
nm_stop
+ sleep 2
nm_start
}