summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live/lib
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/linhes-live/lib')
-rw-r--r--abs/core-testing/linhes-live/lib/initcpio/hooks/larch15
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1
index e1a3753..88ccc3e 100644
--- a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1
+++ b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1
@@ -115,6 +115,11 @@ run_hook ()
test_live_data_dir "${d}" "${cdmount}"
if [ $? -eq 0 ]; then break 2; fi
done
+ msg_ ":: Searching for usb cdroms .."
+ for d in /dev/sr[0-9]*; do
+ test_live_data_dir "${d}" "${cdmount}"
+ if [ $? -eq 0 ]; then break 2; fi
+ done
done
fi
}