mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-03 16:04:53 +01:00
fixes for #7869 software upgrade was broken
This commit is contained in:
parent
8f48ff9e83
commit
69a79e6b3e
1 changed files with 6 additions and 1 deletions
|
|
@ -112,7 +112,12 @@ handle_provisioning() {
|
|||
config_get_bool defaultreset "$config" defaultreset
|
||||
config_get deckey "$config" deckey
|
||||
if [ "$enabled" -eq 1 ]; then
|
||||
config_get url "$config" urliup
|
||||
if [ "$config" == "iup" ]; then
|
||||
v "using url from dhcp options"
|
||||
config_get url "$config" urliup
|
||||
else
|
||||
config_get url "$config" url
|
||||
fi
|
||||
url=${url//\$MAC/$MAC}
|
||||
v "Download from $url"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue