diff options
Diffstat (limited to 'configs')
-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 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 |