diff options
author | alex <alex@FreeBSD.org> | 2003-02-13 01:11:09 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2003-02-13 01:11:09 +0800 |
commit | a01e8d6610b3327dafa67f2f6511270ef827e694 (patch) | |
tree | b36163098bcf71bfdc613bf3033077cf42ccd831 /emulators/vmware2 | |
parent | bdc124b72f2a2628bc9714b921d2e1703eb2dd63 (diff) | |
download | freebsd-ports-gnome-a01e8d6610b3327dafa67f2f6511270ef827e694.tar.gz freebsd-ports-gnome-a01e8d6610b3327dafa67f2f6511270ef827e694.tar.zst freebsd-ports-gnome-a01e8d6610b3327dafa67f2f6511270ef827e694.zip |
Fix the stupid manual merge error I did in the last commit.
Diffstat (limited to 'emulators/vmware2')
-rw-r--r-- | emulators/vmware2/files/vmware.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/emulators/vmware2/files/vmware.sh b/emulators/vmware2/files/vmware.sh index 2f4172c246d4..2f2d1f00d674 100644 --- a/emulators/vmware2/files/vmware.sh +++ b/emulators/vmware2/files/vmware.sh @@ -46,8 +46,6 @@ 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 @@ -55,7 +53,8 @@ start) echo "Your VMware installation seems broken. Please reinstall VMware port." >&2 exit 255 fi - echo -n > $dev_vmnet1 + echo -n > /dev/vmnet1 2>&1 || true + echo -n > $dev_vmnet1 2>&1 ifconfig vmnet1 $host_ip netmask $netmask if [ X$bridged = XYES ]; then kldstat -v | grep netgraph >/dev/null || kldload netgraph.ko |