mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add open-vm-tools for x86
This commit is contained in:
parent
41cb47aedd
commit
bf9a9aed78
17 changed files with 604 additions and 46 deletions
8
open-vm-tools/files/shutdown
Normal file
8
open-vm-tools/files/shutdown
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#compatibility script for openvmtools
|
||||
|
||||
if [ "$1" == "-r" ]; then
|
||||
/sbin/reboot
|
||||
else
|
||||
/sbin/poweroff
|
||||
fi
|
2
open-vm-tools/files/tools.conf
Normal file
2
open-vm-tools/files/tools.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[guestinfo]
|
||||
disable-perf-mon=1
|
14
open-vm-tools/files/vmtoolsd.init
Normal file
14
open-vm-tools/files/vmtoolsd.init
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=10
|
||||
|
||||
USE_PROCD=1
|
||||
PROG=/bin/vmtoolsd
|
||||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG"
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue