summaryrefslogtreecommitdiff
path: root/emulators/vmware-module3/INSTALL
blob: 73929740cce46acff118c43dbafd1325a584faf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.2 2003/08/30 20:22:52 jlam Exp $

case $2 in
POST-INSTALL)
	/bin/cat << EOF
===========================================================================
Copy the following files from ${PKG_PREFIX}/etc/rc.d to /etc/rc.d:

linuxrtc vmmon vmnet vmnetif

and append the content of ${PKG_PREFIX}/etc/rc.conf.d/vmware to /etc/rc.conf:

vmware_prefix=${PKG_PREFIX}
vmmon=YES
vmnet=YES
linuxrtc=NO
# XXX should cater for multiple interfaces
vmnetif=YES
vmnetifname=vmnet1
vmnetdev=/dev/vmnet1
vmnetifconfig="inet 172.16.212.1 netmask 0xffffff00"
vmnetif_use_dhcpd=NO

Then, reboot your system.
===========================================================================
EOF
	;;
esac