Commit cae171f 1 parent 6649972 commit cae171f Copy full SHA for cae171f
File tree 2 files changed +15
-4
lines changed
luci/luci-app-falter-owm/files
packages/falter-berlin-autoupdate/files
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,16 @@ json_add_object firmware
309
309
json_add_string kernelVersion " $kernelVersion "
310
310
json_add_string kernelBuildDate " $buildDate "
311
311
json_close_object
312
+ json_add_object board
313
+ json_add_string profile " avm_fritzbox-4040"
314
+ json_add_string name " AVM FRITZ!Box 4040"
315
+ json_add_string target " ipq40xx/generic"
316
+ json_close_object
317
+ json_add_object falter
318
+ json_add_string version " 1.2.4-test"
319
+ json_add_string variant " tunneldigger" # or notunnel, backbone, bbb-configs
320
+ json_add_string autoupdate " 1"
321
+ json_close_object
312
322
313
323
json_close_object
314
324
Original file line number Diff line number Diff line change @@ -158,15 +158,16 @@ get_download_link_and_hash() {
158
158
json_get_var image_hash " $flavour "
159
159
160
160
# load board-specific json with image-name from selector
161
- board_json=$( wget -qO - " https://${SELECTOR_URL} /${version} /${flavour} /${curr_target} /${BOARD} .json" )
161
+ # board_json=$(wget -qO - "https://${SELECTOR_URL}/${version}/${flavour}/${curr_target}/${BOARD}.json")
162
+ target_json=$( wget -qO - " https://firmware.berlin.freifunk.net/stable/${version} /${flavour} /${curr_target} /profiles.json" )
162
163
163
- if [ -z " $board_json " ]; then
164
- log " Failed to download board -specific JSON-File from firmware selector. Exiting..."
164
+ if [ -z " $target_json " ]; then
165
+ log " Failed to download target -specific JSON-File from firmware selector. Exiting..."
165
166
exit 2
166
167
fi
167
168
168
169
json_init
169
- json_load " $board_json "
170
+ json_load " $target_json "
170
171
json_for_each_item " iter_images" " images"
171
172
172
173
if [ -z " $IMAGE_NAME " ]; then
You can’t perform that action at this time.
0 commit comments