sysutils/vmware: load drivers on bootup; fixes #5

This commit is contained in:
Franco Fichtner 2015-09-23 17:06:52 +02:00
parent a5e22cf4a1
commit db39ff085e
3 changed files with 12 additions and 1 deletions

View file

@ -1,2 +1,9 @@
touch /boot/loader.conf
cp /boot/loader.conf /boot/loader.conf.bak
(grep -v '^vmxnet_load=' /boot/loader.conf.bak; \
echo 'vmxnet_load="YES"') > /boot/loader.conf
rm -f /boot/loader.conf.bak
configctl template reload OPNsense.VMware
/usr/local/opnsense/scripts/vmware/setup.sh

View file

@ -0,0 +1,4 @@
touch /boot/loader.conf
cp /boot/loader.conf /boot/loader.conf.bak
(grep -v '^vmxnet_load=' /boot/loader.conf.bak) > /boot/loader.conf
rm -f /boot/loader.conf.bak

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= vmware
PLUGIN_VERSION= 1.1
PLUGIN_VERSION= 1.2
PLUGIN_COMMENT= VMware tools wrapper
PLUGIN_DEPENDS= open-vm-tools-nox11
PLUGIN_MAINTAINER= franco@opnsense.org