From 2c79ac7fa43fdff3b3d5f84834ee61b09dd293cc Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Tue, 11 Feb 2003 21:10:04 +0000 Subject: Fix this on 5.0. It isn't enough to "echo -n" to /compat/linux/dev/vmnet1, but you also need to do this with /dev/vmnet1 in days of devfs. This has been in my tree for months now. --- emulators/vmware2/files/vmware.sh | 2 ++ emulators/vmware3/files/vmware.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/emulators/vmware2/files/vmware.sh b/emulators/vmware2/files/vmware.sh index a5d8029ee831..2f4172c246d4 100644 --- a/emulators/vmware2/files/vmware.sh +++ b/emulators/vmware2/files/vmware.sh @@ -46,6 +46,8 @@ exec >/dev/null case $1 in start) kldstat -v | grep vmmon >/dev/null || kldload ${vmware_libdir}/modules/vmmon_${suffix}.ko + echo -n > /dev/vmnet1 + echo -n > /dev/vmnet1 if [ $networking -eq 1 ]; then kldstat -v | grep if_tap >/dev/null || kldload if_tap.ko if [ ! -e $dev_vmnet1 ]; then diff --git a/emulators/vmware3/files/vmware.sh b/emulators/vmware3/files/vmware.sh index a5d8029ee831..2f4172c246d4 100644 --- a/emulators/vmware3/files/vmware.sh +++ b/emulators/vmware3/files/vmware.sh @@ -46,6 +46,8 @@ exec >/dev/null case $1 in start) kldstat -v | grep vmmon >/dev/null || kldload ${vmware_libdir}/modules/vmmon_${suffix}.ko + echo -n > /dev/vmnet1 + echo -n > /dev/vmnet1 if [ $networking -eq 1 ]; then kldstat -v | grep if_tap >/dev/null || kldload if_tap.ko if [ ! -e $dev_vmnet1 ]; then -- cgit v1.2.3