diff options
-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 |