summarylogtreecommitdiffstats
path: root/vmware-networks
blob: 4c5ad6531fbbb67292a49b1f69703c60c7aaca9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run

name=$RC_SVCNAME
description="VMware Networks"
command="/usr/bin/vmware-networks"
command_args="--start"
pidfile="undefined"

start_pre() {
	modprobe vmnet
}

depend() {
	after vmware-networks-configuration
	use vmware-networks-configuration
}

stop() {
	ebegin "Stopping $RC_SVCNAME"
	/usr/bin/vmware-networks --stop
	eend $?
}