Skip to content

Commit

Permalink
[PATCH] aoe: aoe-stat should work for built-in as well as module
Browse files Browse the repository at this point in the history
aoe-stat should work for built-in as well as module

Signed-off-by: Ed L. Cashin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

diff -uprN a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh
  • Loading branch information
ecashin authored and gregkh committed May 4, 2005
1 parent 03c41c4 commit c59a24d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Documentation/aoe/status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c59a24d

Please sign in to comment.