diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-17 02:32:22 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-17 02:32:22 +0000 |
commit | f38530676caf0a6e9637453a93d886cd96f5c9ae (patch) | |
tree | 58786bc3c1dfc4c908ece1d82cc44b797fc8f4ec /etc/rc.d | |
parent | 1642671ec5727db3d568e4db1c8e6b9fd2063208 (diff) | |
download | FreeBSD-src-f38530676caf0a6e9637453a93d886cd96f5c9ae.zip FreeBSD-src-f38530676caf0a6e9637453a93d886cd96f5c9ae.tar.gz |
Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.
Submitted by: hrs
X-MFC-with: 271493, 271688, 271699
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/Makefile | 5 | ||||
-rw-r--r-- | etc/rc.d/hv_kvpd | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index d0897e3..64e83ac 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -57,7 +57,6 @@ FILES= DAEMON \ hostid \ hostid_save \ hostname \ - ${_hv_kvpd} \ inetd \ initrandom \ ip6addrctl \ @@ -193,10 +192,6 @@ _ubthidhci= ubthidhci _casperd= casperd .endif -.if ${MK_HYPERV} != "no" -_hv_kvpd= hv_kvpd -.endif - .if ${MK_UNBOUND} != "no" _unbound= local_unbound .endif diff --git a/etc/rc.d/hv_kvpd b/etc/rc.d/hv_kvpd deleted file mode 100644 index 164ec53..0000000 --- a/etc/rc.d/hv_kvpd +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: hv_kvpd - -. /etc/rc.subr - -name="hv_kvp_daemon" -rcvar="hv_kvpd_enable" -command="/usr/sbin/${name}" -required_dirs="/var/db/hyperv" - -load_rc_config $name -run_rc_command "$1" |