Skip to content

Commit 427f1c9

Browse files
committed
add firmware upload in start
1 parent f50fd77 commit 427f1c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Thumbs.db
7070
# Swap files
7171
*.swp
7272

73-
7473
# Python3 Virtual Environment folders
7574

7675
bin/
@@ -94,3 +93,7 @@ photos/metadata.json
9493

9594
# Uploaded updates folder
9695
updatePackages/
96+
97+
# firmware
98+
firmware/
99+

start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2+
[[ -d "firmware" ]] && [[ ! -f "firmware/initialised" ]] && source firmware/upload.sh
23
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0 python3 init.py

0 commit comments

Comments
 (0)