diff options
author | Richard Nelson <unixabg@gmail.com> | 2010-06-22 19:37:14 -0500 |
---|---|---|
committer | Richard Nelson <unixabg@gmail.com> | 2010-06-22 19:37:14 -0500 |
commit | 67a9a09b03e0606057f35442c1a03e324caecd9f (patch) | |
tree | 80c939c2d5853abfdd43c2133e233a7aeeb8382b /cgi | |
parent | 8123fdf0ae89ae545666541d039b7cf3e48b456e (diff) | |
download | vyos-live-build-67a9a09b03e0606057f35442c1a03e324caecd9f.tar.gz vyos-live-build-67a9a09b03e0606057f35442c1a03e324caecd9f.zip |
Added : and / to LH_BOOTAPPEND for live-config.hooks calls.
Diffstat (limited to 'cgi')
-rwxr-xr-x | cgi/cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ else # Advanced binary options LH_BINARY_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_indices=[a-z]+' | cut -f 2 -d '=' | head -n1) - LH_BOOTAPPEND=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend=[-0-9a-zA-Z. _+=]+' | cut -f2- -d '=' | head -n1) + LH_BOOTAPPEND=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) LH_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1) LH_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1) LH_ENCRYPTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])encryption=[0-9,a-z,A-Z]+' | cut -f 2 -d '=' | head -n1) @@ -142,7 +142,7 @@ else -e "s/LH_SYMLINKS/${LH_SYMLINKS}/" \ -e "s/LH_SYSVINIT/${LH_SYSVINIT}/" \ -e "s/LH_BINARY_INDICES/${LH_BINARY_INDICES}/" \ - -e "s/LH_BOOTAPPEND/${LH_BOOTAPPEND}/" \ + -e "s#LH_BOOTAPPEND#${LH_BOOTAPPEND}#" \ -e "s/LH_BOOTLOADER/${LH_BOOTLOADER}/" \ -e "s/LH_DEBIAN_INSTALLER/${LH_DEBIAN_INSTALLER}/" \ -e "s/LH_ENCRYPTION/${LH_ENCRYPTION}/" \ |