aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 09:34:01 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 09:34:01 +0200
commit0b4a16237dab7e69b464156044903b4141432b38 (patch)
tree88cae68868f275080642a17a5c52e64c21b3ba00 /config
parent1f828da196f55119acda8f4cdda9ba82ae395795 (diff)
downloadpfsense-packages-0b4a16237dab7e69b464156044903b4141432b38.tar.gz
pfsense-packages-0b4a16237dab7e69b464156044903b4141432b38.tar.bz2
pfsense-packages-0b4a16237dab7e69b464156044903b4141432b38.zip
Remove useless remount calls and other redundant stuff
These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc.
Diffstat (limited to 'config')
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index f005074e..02449a1d 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/open-vm-tools.inc
@@ -27,20 +27,14 @@
POSSIBILITY OF SUCH DAMAGE.
*/
function open_vm_tools_deinstall() {
- conf_mount_rw();
- stop_service("vmware-guestd");
- unlink_if_exists("/usr/local/etc/rc.d/vmware-guestd.sh");
unlink_if_exists("/usr/local/etc/rc.d/vmware-kmod.sh");
unlink_if_exists("/boot/kernel/vmblock.ko");
unlink_if_exists("/boot/kernel/vmhgfs.ko");
unlink_if_exists("/boot/kernel/vmmemctl.ko");
unlink_if_exists("/boot/kernel/vmxnet.ko");
- conf_mount_ro();
}
function open_vm_tools_install() {
- conf_mount_rw();
-
// Clean up old .ko files if they exist
unlink_if_exists("/boot/kernel/vmblock.ko");
unlink_if_exists("/boot/kernel/vmhgfs.ko");