diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-09-06 13:56:14 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
| commit | 534e523be9e50f3a9dff2b52bf119383dfacaa4f (patch) | |
| tree | ad7be33b1b95706deb7e78277acd470f4bef11ab | |
| parent | 73a0e6fc999ff71da4e0e84a2def026219f411ef (diff) | |
| download | live-boot-534e523be9e50f3a9dff2b52bf119383dfacaa4f.tar.gz live-boot-534e523be9e50f3a9dff2b52bf119383dfacaa4f.zip | |
Removing lenny legacy stuff from initscript.
| -rw-r--r-- | debian/live-boot.init | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/live-boot.init b/debian/live-boot.init index 548abca..03bc390 100644 --- 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 |
