Skip to content

Commit

Permalink
sysutils/vmware: load drivers on bootup; fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Sep 23, 2015
1 parent a5e22cf commit db39ff0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions sysutils/vmware/+POST_INSTALL
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions sysutils/vmware/+PRE_DEINSTALL
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion sysutils/vmware/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit db39ff0

Please sign in to comment.