summaryrefslogtreecommitdiff
path: root/emulators/vmware-module/pkg/INSTALL
blob: 8c97b4b093ac9ff4f0b7d7aa5901c890f3cf6985 (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
31
32
33
34
35
36
37
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1.1.1 2001/07/07 14:40:07 veego Exp $

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

linuxrtc vmmon vmnet vmnetif vmware

and append the content of ${PKG_PREFIX}/etc/rc.conf.d 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
	;;
*)
	echo "Unexpected argument: $2"
	exit 1
	;;
esac
exit 0