aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools/open-vm-tools.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-08 19:08:48 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-08 19:08:48 -0400
commit301c89ac375be572abc5d65bbb7a22f139117ded (patch)
treea03ffd547f23e23094b65f892eebb2507ebe1284 /config/open-vm-tools/open-vm-tools.xml
parent80fba271589130f6f3603157271574ccb42d70d0 (diff)
downloadpfsense-packages-301c89ac375be572abc5d65bbb7a22f139117ded.tar.gz
pfsense-packages-301c89ac375be572abc5d65bbb7a22f139117ded.tar.bz2
pfsense-packages-301c89ac375be572abc5d65bbb7a22f139117ded.zip
Deinstall correctly
Diffstat (limited to 'config/open-vm-tools/open-vm-tools.xml')
-rw-r--r--config/open-vm-tools/open-vm-tools.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/open-vm-tools/open-vm-tools.xml b/config/open-vm-tools/open-vm-tools.xml
index e393edad..40a8fc51 100644
--- a/config/open-vm-tools/open-vm-tools.xml
+++ b/config/open-vm-tools/open-vm-tools.xml
@@ -59,6 +59,11 @@
conf_mount_ro();
</custom_php_install_command>
<custom_php_deinstall_command>
+ conf_mount_rw();
+ exec("/usr/local/etc/rc.d/vmware-guestd.sh stop");
+ exec("/usr/local/etc/rc.d/vmware-kmod.sh stop");
+ open_vm_tools_deinstall();
+ conf_mount_ro();
</custom_php_deinstall_command>
<include_file>/usr/local/pkg/open-vm-tools.inc</include_file>
</packagegui> \ No newline at end of file