diff options
author | alex <alex@FreeBSD.org> | 2003-02-12 05:10:04 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2003-02-12 05:10:04 +0800 |
commit | 6fa0c47f40bf3d6360eba8302a9c29bba5b8b3e8 (patch) | |
tree | 2f87a9ddb653784f413efe205caa8517a5b7c0f4 /emulators | |
parent | 5ff07f04464d16f24a4a411e37e7cf5b575280f8 (diff) | |
download | freebsd-ports-gnome-6fa0c47f40bf3d6360eba8302a9c29bba5b8b3e8.tar.gz freebsd-ports-gnome-6fa0c47f40bf3d6360eba8302a9c29bba5b8b3e8.tar.zst freebsd-ports-gnome-6fa0c47f40bf3d6360eba8302a9c29bba5b8b3e8.zip |
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.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vmware2/files/vmware.sh | 2 | ||||
-rw-r--r-- | emulators/vmware3/files/vmware.sh | 2 |
2 files changed, 4 insertions, 0 deletions
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 |