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

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 451fc94 was 451fc94, checked in by Kris Moore <kris@…>, 13 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: 483 bytes
Line 
1#!/bin/sh
2
3# Enable loading the vboxguest binary driver
4grep '^vboxguest_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
5if [ $? -ne 0 ] ; then
6        echo 'vboxguest_enable="YES"' >>/etc/rc.conf
7fi
8grep '^vboxservice_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
9if [ $? -ne 0 ] ; then
10        echo 'vboxservice_enable="YES"' >>/etc/rc.conf
11fi
12grep '^vboxguest_load="YES"' /boot/loader.conf >/dev/null 2>/dev/null
13if [ $? -ne 0 ] ; then
14        echo 'vboxguest_load="YES"' >>/boot/loader.conf
15fi
Note: See TracBrowser for help on using the repository browser.