Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/boot-cd
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
commit9aa96d8b07637705e4d0feecdaf6fe3239a88829 (patch)
tree936da89ca3af1621aded94bc67e89375acbcca26 /hooks/boot-cd
parent6b0c16b4bdf7a172ce3b28a2d61b4799f56975b9 (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-cd')
-rw-r--r--hooks/boot-cd2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/boot-cd b/hooks/boot-cd
index a9b6f61..1773023 100644
--- a/hooks/boot-cd
+++ b/hooks/boot-cd
@@ -3,7 +3,7 @@ run_hook ()
msg ":: Scanning for boot cdrom device..."
/bin/mkdir -p /bootmnt
- bootmnt="/bootmnt/"
+ bootmnt="/bootmnt"
found=0
/bin/modprobe -q isofs >/dev/null 2>&1