summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-03-21 06:17:31 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:44:51 +0100
commit1df4b4ccb77a55e8e1dc758fb81691047ecfa0a7 (patch)
tree716f9144346debe7f3749e9c531d221462243909 /scripts/live-bottom
parentc3c213c7d3e768488ea69d261ee0dd971842ed95 (diff)
downloadlive-boot-1df4b4ccb77a55e8e1dc758fb81691047ecfa0a7.tar.gz
live-boot-1df4b4ccb77a55e8e1dc758fb81691047ecfa0a7.zip
99hook: Download hook script from inside target filesystem
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/99hook2
1 files changed, 1 insertions, 1 deletions
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})"