2920a32c71
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
30 lines
709 B
Text
30 lines
709 B
Text
#!/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
|