diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
commit | dd5222c4ae447eb7a6bda08ec5a3c2339852dc16 (patch) | |
tree | f868384a6a3676025bac736d7a688aefae8acddd /community-staging/open-vm-tools/scripts-network-FS19541.patch | |
parent | 622de23541903f9b6f85fe0a96d61de08372d23b (diff) |
Fri Jun 10 17:30:25 UTC 2011
Diffstat (limited to 'community-staging/open-vm-tools/scripts-network-FS19541.patch')
-rw-r--r-- | community-staging/open-vm-tools/scripts-network-FS19541.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/community-staging/open-vm-tools/scripts-network-FS19541.patch b/community-staging/open-vm-tools/scripts-network-FS19541.patch deleted file mode 100644 index 1f65b9824..000000000 --- a/community-staging/open-vm-tools/scripts-network-FS19541.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- network 2010-04-28 12:30:51.000000000 +0200 -+++ network.bak 2010-05-20 12:12:50.000000000 +0200 -@@ -76,7 +76,7 @@ - else - echo `date` "[rescue_nic] activating $nic ..." - -- ifup $nic -+ ifconfig $nic up - exitCode=`expr $exitCode \| $?` - fi - done < $activeList -@@ -103,7 +103,7 @@ - TranquilizeNetworkManager() { - # `which' may be a bit noisy, so we'll shush it. - dbusSend=`which dbus-send 2>/dev/null` -- if [ $? -eq 0 ]; then -+ if [ $? -eq 0 ] && [ `pidof dbus-daemon` ]; then - # NetworkManager 0.6 - $dbusSend --system --dest=org.freedesktop.NetworkManager \ - /org/freedesktop/NetworkManager \ -@@ -133,7 +133,7 @@ - WakeNetworkManager() { - # `which' may be a bit noisy, so we'll shush it. - dbusSend=`which dbus-send 2>/dev/null` -- if [ $? -eq 0 ]; then -+ if [ $? -eq 0 ] && [ `pidof dbus-daemon` ]; then - # NetworkManager 0.6 - $dbusSend --system --dest=org.freedesktop.NetworkManager \ - /org/freedesktop/NetworkManager \ -@@ -165,8 +165,8 @@ - - # XXX Are these really necessary? If so, we should have seen customer - # complaints by now. -- which ifup >/dev/null 2>&1 || Panic "ifup not in search path." -- which ifconfig >/dev/null 2>&1 || Panic "ifconfig not in search path." -+# which ifup >/dev/null 2>&1 || Panic "ifup not in search path." -+ which ifconfig >/dev/null 2>&1 || Panic "ifconfig not in search path." - - case "$1" in - poweron-vm) |