diff options
Diffstat (limited to 'emulators/vmware-guestd6/files/vmware-guest_kmod.sh')
-rw-r--r-- | emulators/vmware-guestd6/files/vmware-guest_kmod.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/emulators/vmware-guestd6/files/vmware-guest_kmod.sh b/emulators/vmware-guestd6/files/vmware-guest_kmod.sh deleted file mode 100644 index 63470a3d07ac..000000000000 --- a/emulators/vmware-guestd6/files/vmware-guest_kmod.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - exec 2>/dev/null - ulimit -c 0 - if ${PREFIX}/sbin/vmware-checkvm >/dev/null; then - kldstat -v | grep vmmemctl >/dev/null || kldload ${PREFIX}/lib/vmware-tools/modules/vmmemctl.ko - echo -n ' vmware-guestkmod' - fi - ;; -stop) - exec 2>/dev/null - ulimit -c 0 - if ${PREFIX}/sbin/vmware-checkvm >/dev/null; then - kldstat -v | grep vmmemctl >/dev/null && kldunload vmmemctl && echo -n ' vmware-guestkmod' - fi - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 |