projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a0e6f
)
Removing lenny legacy stuff from initscript.
author
Daniel Baumann
<daniel@debian.org>
Mon, 6 Sep 2010 11:56:14 +0000
(13:56 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000
(17:59 +0100)
debian/live-boot.init
patch
|
blob
|
history
diff --git
a/debian/live-boot.init
b/debian/live-boot.init
index
548abca
..
03bc390
100644
(file)
--- a/
debian/live-boot.init
+++ b/
debian/live-boot.init
@@
-83,8
+83,7
@@
device_is_USB_flash_drive()
[ "$(expr substr ${DEVICE} 1 2)" != "sd" ] && return 1
# check that the device is an USB device
- if readlink /sys/block/${DEVICE} | grep -q usb ||
- readlink /sys/block/${DEVICE}/device | grep -q usb # linux < 2.6.29
+ if readlink /sys/block/${DEVICE} | grep -q usb
then
return 0
fi