Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open source
IQRF Yocto Layer
Commits
9e7fd997
Commit
9e7fd997
authored
Mar 23, 2021
by
Rostislav Spinar
Browse files
setter: fix setter bootpart flag
parent
c50a23f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes-iqrf/iqrf-gateway-setter/files/iqrf-gateway-setter.py
View file @
9e7fd997
...
...
@@ -309,7 +309,7 @@ def touch(path):
:param name: Path
:type name: str
"""
"""
with
open
(
path
,
'a'
):
os
.
utime
(
path
,
None
)
...
...
@@ -393,7 +393,9 @@ def main():
# copy default cfg to enable restore function
backup_configuration
()
# create flag, do not run again
# create flag, not to run again
if
not
os
.
path
.
isdir
(
"/data/setter"
):
os
.
makedirs
(
"/data/setter"
)
touch
(
"/data/setter/bootpart"
)
# disable wlan0 completely, only for certification if needed, user can enable wifi on its own by webapp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment