Skip to content

Commit a1f95b1

Browse files
authored
Fix broken wifi-credentials instructions. (#518)
1 parent 5b51899 commit a1f95b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/tutorials/misc/ota.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ by adding a config file with the credentials to the extraction step.
265265
WIFI_CREDENTIALS := {"wifi.ssid":"<my-ssid>","wifi.password":"<my-password>"}
266266

267267
ota.bin: validate.snapshot firmware.envelope
268-
$(TOIT_FIRMWARE) -e firmware.envelope container install validate validate.snapshot
269-
$(TOIT_FIRMWARE) -e firmware.envelope property set wifi '$(WIFI_CREDENTIALS)'
270-
$(TOIT_FIRMWARE) -e firmware.envelope extract --format=binary -o ota.bin
268+
$(TOIT) tool firmware -e firmware.envelope container install validate validate.snapshot
269+
$(TOIT) tool firmware -e firmware.envelope property set wifi '$(WIFI_CREDENTIALS)'
270+
$(TOIT) tool firmware -e firmware.envelope extract --format=binary -o ota.bin
271271
```
272272

273273
We also recommend to only validate a new image once a network connection has been

0 commit comments

Comments
 (0)