summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/open-vm-tools')
-rw-r--r--app-emulation/open-vm-tools/Manifest2
-rw-r--r--app-emulation/open-vm-tools/files/network8
2 files changed, 4 insertions, 6 deletions
diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest
index a105ff3..16553aa 100644
--- a/app-emulation/open-vm-tools/Manifest
+++ b/app-emulation/open-vm-tools/Manifest
@@ -1,4 +1,4 @@
-AUX network 289 RMD160 9b9ecfc92eb1e8519de1ae2ee6ab16a797cb2358 SHA1 37cc60c88dcb224c75f6f7f7163faf9d0eec4874 SHA256 9c90919b9c3fb8cace8230af8c90192cf7a184d833d13fba090fc98b289ef2e7
+AUX network 265 RMD160 686d4c79a32d181aa52ab9c6c9f9cb1a86ec54c3 SHA1 5fe01434066f44dbce8cef36ebee58149db6ee00 SHA256 5086ad67e1ad98877e2992ac4637f304028424177151606243e35bc8a021117a
AUX open-vm-tools.desktop 140 RMD160 2e4a6ec7d866975c0952e78b5ea72fef3904b411 SHA1 0b012eb6f0fedadf8e6dfefb8a63eec2d52eb43f SHA256 86363f5430d33afb2f9fcb004ca86813f14434f56986e427e296bd530724eeb0
AUX open-vm-tools.initd 1875 RMD160 1462e939f2e8bfb4aa7a828fb8a436429ea8d002 SHA1 8eae35945cad1d9e9089f96a5211dfb23a891b7d SHA256 83a8c41d201e571193bd116a242abcdedd5d365a71f6e40bce2d3a40e0c2c15f
AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c
diff --git a/app-emulation/open-vm-tools/files/network b/app-emulation/open-vm-tools/files/network
index dabd183..3608455 100644
--- a/app-emulation/open-vm-tools/files/network
+++ b/app-emulation/open-vm-tools/files/network
@@ -4,19 +4,17 @@
# net.eth0, net.eth1, network, wicd, NetworkManager
service="net.eth0"
-if [ $(rc-service -e net.eth0) ]
+if ! rc-service -e ${service}
then
- service="net.eth0"
-else
service="network"
fi
case "$1" in
suspend-vm)
- rc-service $service stop
+ rc-service ${service} stop
;;
resume-vm)
- rc-service $service start
+ rc-service ${service} start
;;
*)
;;