#!/bin/sh
#
# Copyright (C) 1998-99, VMWare, Inc.  All Rights Reserved.
#
#
# dualconf       At boot time, check if we are in a VM and run the
#                appropriate script to set links.
#

export VM=0
if [ -x /etc/vmware/checkvm ]
then
    if /etc/vmware/checkvm > /dev/null
    then
        VM=1
    fi
fi

if [ $VM = "1" ]
then
    /etc/vmware/dualconf.vm
else
    /etc/vmware/dualconf.org
fi

exit 0

