Added VMware remote console
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/vmware/bin/vmware-usbarbitrator"
|
||||
name="VMware USB Arbitrator"
|
||||
description="VMware USB Arbitrator"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${description}"
|
||||
"${command}" -k
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=VMware USB Arbitration Service
|
||||
After=vmware-authentication.service
|
||||
PartOf=vmware.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/opt/vmware/bin/vmware-usbarbitrator
|
||||
ExecStop=/opt/vmware/bin/vmware-usbarbitrator --kill
|
||||
|
||||
[Install]
|
||||
WantedBy=vmware.target
|
||||
Reference in New Issue
Block a user