From: Ed L Cashin Date: Fri, 29 Apr 2005 14:24:13 +0000 (-0400) Subject: [PATCH] aoe: aoe-stat should work for built-in as well as module X-Git-Tag: v2.6.12-rc4~117^2~18^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59a24dc512952cb434b34a66c3792555159fa36;p=linux-2.6 [PATCH] aoe: aoe-stat should work for built-in as well as module aoe-stat should work for built-in as well as module Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman diff -uprN a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh --- diff --git a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh index 6628116d4a..751f3be514 100644 --- a/Documentation/aoe/status.sh +++ b/Documentation/aoe/status.sh @@ -14,10 +14,6 @@ test ! -d "$sysd/block" && { echo "$me Error: sysfs is not mounted" 1>&2 exit 1 } -test -z "`lsmod | grep '^aoe'`" && { - echo "$me Error: aoe module is not loaded" 1>&2 - exit 1 -} for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do # maybe ls comes up empty, so we use "end"