commit 21d43020dfd7dc915c941739408c48f91b9681f5 Author: Adam Gołębiowski <ad...@pld-linux.org> Date: Sun Sep 2 18:03:55 2018 +0200
we don't provide vmxnet module, drop support for it open-vm-tools-init | 37 ------------------------------------- 1 file changed, 37 deletions(-) --- diff --git a/open-vm-tools-init b/open-vm-tools-init index afc1bc4..6ae86d3 100755 --- a/open-vm-tools-init +++ b/open-vm-tools-init @@ -33,41 +33,6 @@ module_exist() { test -f /lib/modules/$kver/misc/$module.ko* } -start_vmxnet() { - # Check if the service is already running? - if [ -f /var/lock/subsys/open-vm-tools-vmxnet ]; then - msg_already_running "Open Virtual Machine vmxnet script" - return - fi - - msg_starting "Open Virtual Machine vmxnet script" - busy - if ! module_exist vmxnet; then - fail - echo -e "\tCan't find vmxnet module" - RETVAL=1 - return - fi - - for ethif in `ifconfig -a | grep ^eth | cut -d' ' -f1`; do - /sbin/ethtool -K $ethif tso on > /dev/null 2>&1 - done - ok - touch /var/lock/subsys/open-vm-tools-vmxnet -} - -stop_vmxnet() { - if [ ! -f /var/lock/subsys/open-vm-tools-vmxnet ]; then - msg_not_running "Open Virtual Machine vmxnet script" - return - fi - - msg_stopping "Open Virtual Machine vmxnet script" - busy - rm -f /var/lock/subsys/open-vm-tools-vmxnet - ok -} - start_vmblock() { # vmblock is not required and unsupported on ESX so first check # if it's installed then try to use @@ -169,7 +134,6 @@ stop_vmsync() { } start() { - start_vmxnet if is_no `is_ESX_running`; then start_vmblock start_vmhgfs @@ -182,7 +146,6 @@ start() { } stop() { - stop_vmxnet stop_vmblock stop_vmhgfs stop_vmsync ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/open-vm-tools.git/commitdiff/3174ac66a26a5e1ecd13c0defbd7c6ba336a1302 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit