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

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 451fc94 was 451fc94, checked in by Kris Moore <kris@…>, 18 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: 828 bytes
Line 
1#!/bin/sh
2
3# Enable loading the driver
4grep '^vmware_guest_vmblock_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
5if [ $? -ne 0 ] ; then
6        echo 'vmware_guest_vmblock_enable="YES"' >>/etc/rc.conf
7fi
8grep '^vmware_guest_vmhgfs_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
9if [ $? -ne 0 ] ; then
10        echo 'vmware_guest_vmhgfs_enable="YES"' >>/etc/rc.conf
11fi
12grep '^vmware_guest_vmmemctl_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
13if [ $? -ne 0 ] ; then
14        echo 'vmware_guest_vmmemctl_enable="YES"' >>/etc/rc.conf
15fi
16grep '^vmware_guest_vmxnet_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
17if [ $? -ne 0 ] ; then
18        echo 'vmware_guest_vmxnet_enable="YES"' >>/etc/rc.conf
19fi
20grep '^vmware_guestd_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
21if [ $? -ne 0 ] ; then
22        echo 'vmware_guestd_enable="YES"' >>/etc/rc.conf
23fi
Note: See TracBrowser for help on using the repository browser.