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>
This commit is contained in:
parent
34c7ce7193
commit
bc8ec134e1
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue