diff options
| author | Daniel Baumann <daniel@debian.org> | 2008-03-06 08:14:12 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:06 +0100 |
| commit | 0a8b96fdc1ada7bfc65c1949893f8140b3ef2b28 (patch) | |
| tree | 4fa9af7c8b37c6e334bbb9b414b12c7f4e9534c8 /scripts | |
| parent | fa32070515baa0156f7cf59e9d06a4a3a468c409 (diff) | |
| download | live-boot-0a8b96fdc1ada7bfc65c1949893f8140b3ef2b28.tar.gz live-boot-0a8b96fdc1ada7bfc65c1949893f8140b3ef2b28.zip | |
Making hooks executable after fetching them.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/99hook | 6 |
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 |
