From: Chris Lamb Date: Fri, 21 Mar 2008 06:17:31 +0000 (+0000) Subject: 99hook: Download hook script from inside target filesystem X-Git-Tag: debian/2.0.15-1~592 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=1df4b4ccb77a55e8e1dc758fb81691047ecfa0a7 99hook: Download hook script from inside target filesystem --- diff --git a/scripts/live-bottom/99hook b/scripts/live-bottom/99hook index dd027ab..a27a96a 100755 --- a/scripts/live-bottom/99hook +++ b/scripts/live-bottom/99hook @@ -32,7 +32,7 @@ log_begin_msg "Executing custom hook script..." # live-initramfs script cd /root -wget "${HOOK}" +chroot /root wget "${HOOK}" FILE="$(basename ${HOOK})"