From f05ac25185ddcd4f84b35ff3ffdcc54a36bc6bd7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 19 Apr 2007 06:46:29 +0000 Subject: Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly --- sh/net.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sh/net.sh') diff --git a/sh/net.sh b/sh/net.sh index 33b93fcb..9922c7ab 100755 --- a/sh/net.sh +++ b/sh/net.sh @@ -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" -- cgit v1.2.3