Allow download automated script using TFTP
This commit is contained in:
parent
977e0b0fd4
commit
72c274924a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ automated_script() {
|
|||
local script rt
|
||||
script="$(script_cmdline)"
|
||||
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
|
||||
if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
|
||||
if [[ "${script}" =~ ^((http|https|ftp|tftp)://) ]]; then
|
||||
# there's no synchronization for network availability before executing this script
|
||||
printf '%s: waiting for network-online.target\n' "$0"
|
||||
until systemctl --quiet is-active network-online.target; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue