More fixes on the init script

OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=189
This commit is contained in:
Dominique Leuenberger 2011-05-01 19:51:50 +00:00 committed by Git OBS Bridge
parent ff875492f8
commit 5a0e1b3b1e
2 changed files with 2 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6724632168332df1816f0d7e1b1c1d1523e4a4ddbe4b75173dc6c71ea90a98b9
size 2577538

View File

@ -43,10 +43,10 @@ test -x $VMTOOLSD_BIN || { echo "$VMTOOLSD_BIN not installed";
# The kernel module for the balloon driver changes its name in different kernel versions
KERNEL_MICRO=$(uname -r | awk -F- '{print $1}' | sed 's,2.6.,,')
case $KERNEL_MICRO in
36)
27|28|29|30|31|32|33)
VMBALLOON=vmmemctl
;;
37)
34|35)
VMBALLOON=vmware_balloon
;;
*)