source: src-sh/pc-metapkgmanager/metaset/trueos/VMwareGuest/post-remove.sh @ 451fc94

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 451fc94 was 451fc94, checked in by Kris Moore <kris@…>, 10 months ago

Add trueos-meta-virtualboxguest & vmwareguest packages

This will allow guest additions to be installed at install time, for TrueOS
systems

  • Property mode set to 100644
File size: 871 bytes
Line 
1#!/bin/sh
2
3# Enable unloading the drivers
4grep '^vmware_guest_vmblock_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
5if [ $? -eq 0 ] ; then
6        sed -i .bak '/vmware_guest_vmblock_enable="YES"/d' /etc/rc.conf
7fi
8grep '^vmware_guest_vmhgfs_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
9if [ $? -eq 0 ] ; then
10        sed -i .bak '/vmware_guest_vmhgfs_enable="YES"/d' /etc/rc.conf
11fi
12grep '^vmware_guest_vmmemctl_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
13if [ $? -eq 0 ] ; then
14        sed -i .bak '/vmware_guest_vmmemctl_enable="YES"/d' /etc/rc.conf
15fi
16grep '^vmware_guest_vmxnet_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
17if [ $? -eq 0 ] ; then
18        sed -i .bak '/vmware_guest_vmxnet_enable="YES"/d' /etc/rc.conf
19fi
20grep '^vmware_guestd_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
21if [ $? -eq 0 ] ; then
22        sed -i .bak '/vmware_guestd_enable="YES"/d' /etc/rc.conf
23fi
Note: See TracBrowser for help on using the repository browser.