index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | David Runge <dvzrv@archlinux.org> | 2020-05-23 16:19:22 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2020-05-30 19:55:03 +0200 |
commit | d50e57a24347b2d9ac0331cd2f6a0c0b19e26089 (patch) | |
tree | 7a475bfeff8ebe589ed09f55724022f03900b8cb /configs/releng/airootfs/root | |
parent | 2ce375cd011ef9f124cfc8b19c1ceb30aba4f413 (diff) |
-rwxr-xr-x | configs/releng/airootfs/root/.automated_script.sh | 2 |
diff --git a/configs/releng/airootfs/root/.automated_script.sh b/configs/releng/airootfs/root/.automated_script.sh index 81a98a1..aaf5583 100755 --- a/configs/releng/airootfs/root/.automated_script.sh +++ b/configs/releng/airootfs/root/.automated_script.sh @@ -15,7 +15,7 @@ automated_script () local script rt script="$(script_cmdline)" if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then - if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then + if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null rt=$? else |