Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly

This commit is contained in:
Roy Marples
2007-04-19 06:46:29 +00:00
parent fb2f0495a6
commit f05ac25185
3 changed files with 16 additions and 11 deletions

View File

@@ -394,6 +394,12 @@ start() {
fi
done
if ! _exists ; then
eerror "ERROR: interface ${IFACE} does not exist"
eerror "Ensure that you have loaded the correct kernel module for your hardware"
return 1
fi
if ! _wait_for_carrier ; then
if service_started devd ; then
ewarn "no carrier, but devd will start us when we have one"