diff options
author | Ed L Cashin <ecashin@coraid.com> | 2005-04-29 10:24:13 -0400 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-05-04 02:34:53 -0400 |
commit | c59a24dc512952cb434b34a66c3792555159fa36 (patch) | |
tree | 3b13ab42ed88a09f304c1fc87962a82c1f49c098 /Documentation | |
parent | 03c41c434775c52092d17a5031ad8ebaaf555bc4 (diff) |
[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 <ecashin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff -uprN a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/aoe/status.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh index 6628116d4a9f..751f3be514b8 100644 --- a/Documentation/aoe/status.sh +++ b/Documentation/aoe/status.sh | |||
@@ -14,10 +14,6 @@ test ! -d "$sysd/block" && { | |||
14 | echo "$me Error: sysfs is not mounted" 1>&2 | 14 | echo "$me Error: sysfs is not mounted" 1>&2 |
15 | exit 1 | 15 | exit 1 |
16 | } | 16 | } |
17 | test -z "`lsmod | grep '^aoe'`" && { | ||
18 | echo "$me Error: aoe module is not loaded" 1>&2 | ||
19 | exit 1 | ||
20 | } | ||
21 | 17 | ||
22 | for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do | 18 | for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do |
23 | # maybe ls comes up empty, so we use "end" | 19 | # maybe ls comes up empty, so we use "end" |