summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/99hook6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/live-bottom/99hook b/scripts/live-bottom/99hook
index 0341026..dd027ab 100755
--- a/scripts/live-bottom/99hook
+++ b/scripts/live-bottom/99hook
@@ -34,6 +34,10 @@ log_begin_msg "Executing custom hook script..."
cd /root
wget "${HOOK}"
-./$(basename ${HOOK})
+FILE="$(basename ${HOOK})"
+
+chmod 0755 "${FILE}"
+./"${FILE}"
+rm -f "${FILE}"
log_end_msg