diff options
author | David Runge <dvzrv@archlinux.org> | 2020-06-23 21:32:03 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2020-06-23 21:38:39 +0200 |
commit | 9b49621f78465cf912f853e1884e3f7446497229 (patch) | |
tree | 2307d44a5b55e486030396011408f22e6f859c8d /configs/releng/airootfs | |
parent | 372a6f9b2f1c3b7beb02f059437a50aa57c9d674 (diff) | |
download | archiso32-9b49621f78465cf912f853e1884e3f7446497229.tar.xz |
Removing wget in favor of curl
configs/releng/airootfs/root/.automated_script.sh:
Replacing wget with curl for the use-case of downloading a
pre-specified remote startup script (changing flags where needed).
configs/releng/packages.x86_64:
Removing wget from the list of installed packages, as
.automated_script.sh was the only reason for it being installed.
Closes #16
Diffstat (limited to 'configs/releng/airootfs')
-rwxr-xr-x | configs/releng/airootfs/root/.automated_script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/airootfs/root/.automated_script.sh b/configs/releng/airootfs/root/.automated_script.sh index aaf5583..ce29d73 100755 --- a/configs/releng/airootfs/root/.automated_script.sh +++ b/configs/releng/airootfs/root/.automated_script.sh @@ -16,7 +16,7 @@ automated_script () script="$(script_cmdline)" if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then - wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null + curl "${script}" --retry-connrefused -s -o /tmp/startup_script >/dev/null rt=$? else cp "${script}" /tmp/startup_script |