summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index 90eca0f..1baf82e 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1635,8 +1635,7 @@ find_livefs ()
do
if [ "$(cat ${sysblock}/removable)" = "1" ]
then
- if readlink ${sysblock} | grep -q usb ||
- readlink ${sysblock}/device | grep -q usb # linux < 2.6.29
+ if readlink ${sysblock} | grep -q usb
then
for dev in $(subdevices "${sysblock}")
do