Lines 33-38
Link Here
|
33 |
then |
33 |
then |
34 |
ebegin "Setting up the Logical Volume Manager" |
34 |
ebegin "Setting up the Logical Volume Manager" |
35 |
#still echo stderr for debugging |
35 |
#still echo stderr for debugging |
|
|
36 |
|
37 |
# sleep to allow udev to do its job |
38 |
timeout=10 |
39 |
until [ -d /dev/mapper ] || [ $[ --timeout ] -le 0 ]; do |
40 |
/bin/sleep 1 |
41 |
echo -ne "." |
42 |
done |
43 |
|
36 |
/sbin/vgscan >/dev/null |
44 |
/sbin/vgscan >/dev/null |
37 |
if [ "$?" -eq 0 ] && [ -x /sbin/vgchange ] && \ |
45 |
if [ "$?" -eq 0 ] && [ -x /sbin/vgchange ] && \ |
38 |
[ -f /etc/lvmtab -o -d /etc/lvm ] |
46 |
[ -f /etc/lvmtab -o -d /etc/lvm ] |