aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/root/.automated_script.sh
Commit message (Collapse)AuthorAgeFilesLines
* .automated_script.sh: add proper HTTP status checkingDariusz Pelowski2024-06-051-1/+1
| | | | | | | | | | When a download attempt fails with an HTTP error, the body of the failed request will be written to the output file with a 0 exit status, causing the execution of an error message as a script. This issue is resolved by adding the --fail option to curl. Co-authored-by: David Runge <dvzrv@archlinux.org>
* Allow download automated script using TFTPJohn Lane2023-12-071-1/+1
|
* Fix optional shellcheck warningsnl67202023-06-151-6/+7
| | | | Additionally fix a few code style issues found with shfmt.
* wait for networkd online before curl invocationZig Globulin2023-03-021-1/+10
| | | | | | | 1) wait for network-online.target before invoking curl as there's no synchronization with network setup for this script 2) don't hide curl errors - it may be easier to debug the issues 3) add log and comments
* Fixes failure to retry script download. Tested and verified the issue is ↵Howard Hicks2021-11-301-1/+1
| | | | | | | | resolved. The curl --retry-connrefused option is used with not instead of the --retry <num> option to add an extra type of failure to retry on, without --retry <num> it does not retry at all even on a connection refused. https://man.archlinux.org/man/curl.1.en
* Allow redirects for scriptsDavid Runge2021-03-291-1/+1
| | | | | | | | configs/releng/airootfs/root/.automated_script.sh: Add the `--location` curl parameter (see `man 1 curl`) to allow for curl to retrieve a remote script even if the source is being redirected (e.g. moved permanently) when using the `script=` kernel commandline parameter. Fixes #113
* Use /usr/bin/env in shebangsnl67202020-07-111-1/+1
|
* Removing wget in favor of curlDavid Runge2020-06-231-1/+1
| | | | | | | | | | | | 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
* Simplifying regex for script downloadDavid Runge2020-05-301-1/+1
| | | | | configs/releng/airootfs/root/.automated_script.sh: Using only one regex to match http://, https:// or ftp:// endpoints.
* [archiso] Rename root-image to airootfsGerardo Exequiel Pozzi2014-06-281-0/+34
Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_"