summaryrefslogtreecommitdiff
path: root/hooks/boot-usb
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-10 22:57:29 -0500
committerDan McGee <dan@archlinux.org>2007-10-10 23:05:26 -0500
commitbc8ec134e107af1e92871ebba0b1d5c6e8cae9bc (patch)
tree754828fdbebd44046fe99b85f6e14d497625c6c4 /hooks/boot-usb
parent34c7ce71932e9edf3640928f65652d37415a6fc0 (diff)
Slight updates to initcpio hooks
* Get rid of unnecessary trailing slash on BOOT_MOUNT variable * Fix -eq/= mixup- we are comparing strings, not numbers * Don't unmount /dev, as it was never mounted Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'hooks/boot-usb')
-rw-r--r--hooks/boot-usb2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/boot-usb b/hooks/boot-usb
index 4645c5a..67e00dd 100644
--- a/hooks/boot-usb
+++ b/hooks/boot-usb
@@ -3,7 +3,7 @@ run_hook ()
msg ":: Scanning for boot usb device..."
/bin/mkdir -p /tmpfs/bootmnt
- bootmnt="/tmpfs/bootmnt/"
+ bootmnt="/tmpfs/bootmnt"
found=0
for usb in /dev/sd[a-z][0-9]; do