From bc8ec134e107af1e92871ebba0b1d5c6e8cae9bc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 10 Oct 2007 22:57:29 -0500 Subject: 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 --- hooks/boot-cd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks/boot-cd') 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 -- cgit v1.2.3-54-g00ecf