diff options
Diffstat (limited to 'emulators/vmware-guestd6/files/vmware-guestd.sh')
-rw-r--r-- | emulators/vmware-guestd6/files/vmware-guestd.sh | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/emulators/vmware-guestd6/files/vmware-guestd.sh b/emulators/vmware-guestd6/files/vmware-guestd.sh deleted file mode 100644 index 47ceb24b2c00..000000000000 --- a/emulators/vmware-guestd6/files/vmware-guestd.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vmware-guestd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: FreeBSD - -PREFIX=%%PREFIX%% -. %%RC_SUBR%% - -# Global -checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" - -# Functions -vmware_guest_kmod_start() -{ - echo 'Loading vmmemctl kernel module.' - kldload ${PREFIX}/lib/vmware-tools/modules/vmmemctl.ko >/dev/null 2>&1 -} - -# VMware kernel modules -name="vmware_guest_kmod" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -start_cmd="vmware_guest_kmod_start" -stop_precmd="${checkvm_cmd}" -stop_cmd=":" - -load_rc_config $name -[ -z "$vmware_guest_kmod_enable" ] && vmware_guest_kmod_enable="NO" -run_rc_command "$1" - -# VMware guest daemon -name="vmware_guestd" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -unset start_cmd -stop_precmd="${checkvm_cmd}" -unset stop_cmd -command="${PREFIX}/sbin/vmware-guestd" -command_args=">/dev/null 2>&1" -pidfile="/var/run/${name}.pid" - -load_rc_config $name -[ -z "$vmware_guestd_enable" ] && vmware_guestd_enable="YES" -[ -z "$vmware_guestd_flags" ] && vmware_guestd_flags="--background ${pidfile}" -run_rc_command "$1" |