aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/XBMCLive/xbmc-live.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/XBMCLive/xbmc-live.conf b/tools/XBMCLive/xbmc-live.conf
index 1380839280..2e812a8c60 100644
--- a/tools/XBMCLive/xbmc-live.conf
+++ b/tools/XBMCLive/xbmc-live.conf
@@ -42,7 +42,7 @@ pre-start script
# Executes hooks (if any) in the "Hooks" directory
for hook in $(ls -1 $BOOTMEDIAMOUNTPOINT/Hooks/*.sh)
do
- cp $hook /root/hook.sh
+ cp $BOOTMEDIAMOUNTPOINT/Hook/$hook /root/hook.sh
chmod 0755 /root/hook.sh
/root/hook.sh
rm -f /root/hook.sh