diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2006-05-31 06:28:01 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2006-05-31 06:28:01 +0000 |
commit | 821cfa67d7e3c6b580b69efbde612ae350b56909 (patch) | |
tree | 5f8034dcf09dae9f8267077b3ead7c3caf591d94 /emulators/vmware-guestd4/files | |
parent | 50eb0a3c0fc6c87f24f1d1777fcae3c6e13e54ed (diff) | |
download | ports-821cfa67d7e3c6b580b69efbde612ae350b56909.tar.gz ports-821cfa67d7e3c6b580b69efbde612ae350b56909.zip |
Notes
Diffstat (limited to 'emulators/vmware-guestd4/files')
-rw-r--r-- | emulators/vmware-guestd4/files/vmware-guestd.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/emulators/vmware-guestd4/files/vmware-guestd.sh b/emulators/vmware-guestd4/files/vmware-guestd.sh deleted file mode 100644 index 4f5072ce1f41..000000000000 --- a/emulators/vmware-guestd4/files/vmware-guestd.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vmware-guestd -# REQUIRE: DAEMON -# BEFORE: LOGIN - -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="--halt-command '/sbin/shutdown -p now' >/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" |