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 | |
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
-rwxr-xr-x | configs/releng/airootfs/root/.automated_script.sh | 2 | ||||
-rw-r--r-- | configs/releng/packages.x86_64 | 1 |
2 files changed, 1 insertions, 2 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 diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index 37fea54..c288d04 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -71,7 +71,6 @@ usbutils vi vim-minimal vpnc -wget wireless-regdb wireless_tools wpa_supplicant |