summaryrefslogtreecommitdiff
path: root/network/NetworkManager/patches
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-19 15:08:09 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-19 15:08:09 -0600
commit10def260f60aa5f23d2af7e03255900cffb0b724 (patch)
tree8a448ecfdde7d86c1e7fa26e523961bccb7afcab /network/NetworkManager/patches
parent9819b2672e1e9d83058c6de896ca94e6820f424f (diff)
downloadslackbuilds-10def260f60aa5f23d2af7e03255900cffb0b724.tar.gz
network/NetworkManager: Included a few minor fixes (read summary)
This commit includes: 1. addition of "sleep 2" between stop() and start() in the restart() function of rc.networkmanager; it seems that a restart doesn't often work otherwise (perhaps something in NM is taking a bit longer to shutdown?) 2. use correct filename in /etc/NetworkManager/NetworkManager.conf Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/NetworkManager/patches')
-rw-r--r--network/NetworkManager/patches/rc.networkmanager_restart.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/NetworkManager/patches/rc.networkmanager_restart.patch b/network/NetworkManager/patches/rc.networkmanager_restart.patch
new file mode 100644
index 0000000000..dc43fab86d
--- /dev/null
+++ b/network/NetworkManager/patches/rc.networkmanager_restart.patch
@@ -0,0 +1,11 @@
+diff -Nur NetworkManager-0.8.2.orig//initscript/Slackware/rc.networkmanager NetworkManager-0.8.2/initscript/Slackware/rc.networkmanager
+--- NetworkManager-0.8.2.orig//initscript/Slackware/rc.networkmanager 2010-11-03 15:11:32.000000000 -0500
++++ NetworkManager-0.8.2/initscript/Slackware/rc.networkmanager 2010-12-18 15:41:06.884120091 -0600
+@@ -67,6 +67,7 @@
+ nm_restart()
+ {
+ nm_stop
++ sleep 2
+ nm_start
+ }
+