diff options
author | maximilian attems <maks@debian.org> | 2005-11-23 22:56:21 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-11-23 22:56:21 +0100 |
commit | 2ca278f1b3b60cad9170be85e5fa964f03107640 (patch) | |
tree | f9dda32c46204971bfe4f072dc17d15de83f2944 | |
parent | e08c3012c84eb902b108e1568528db95df4f4ac0 (diff) | |
download | initramfs-tools-2ca278f1b3b60cad9170be85e5fa964f03107640.tar.gz initramfs-tools-2ca278f1b3b60cad9170be85e5fa964f03107640.zip |
evms=${ROOT#/dev/evms/} expression already sets it to <volname>.
So, the proper behavior is to exit if the volume name starts with a /,
and continue if the volume name does not.
-rwxr-xr-x | scripts/local-top/evms | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/local-top/evms b/scripts/local-top/evms index 8a99549..46fca5d 100755 --- a/scripts/local-top/evms +++ b/scripts/local-top/evms @@ -18,13 +18,12 @@ esac evms=${ROOT#/dev/evms/} case ${evms} in - /dev/root) - unset evms - ;; /*) exit 0 ;; esac + +unset evms for module in dm-mod linear raid0 raid1 raid10 raid5 raid6; do modprobe -q $module |