Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
3df22344
Unverified
Commit
3df22344
authored
Mar 26, 2019
by
Igor Pečovnik
Committed by
GitHub
Mar 26, 2019
Browse files
Add extra sync
parent
82104fa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
3df22344
...
...
@@ -1007,6 +1007,7 @@ function jobs ()
dialog
--title
" Edit u-boot environment "
--ok-label
"Save"
\
--no-collapse
--editbox
/boot/armbianEnv.txt 30 0 2> /boot/armbianEnv.txt.out
[[
$?
=
0
]]
&&
mv
/boot/armbianEnv.txt.out /boot/armbianEnv.txt
sync
;;
# Edit boot script
...
...
@@ -1063,6 +1064,7 @@ function jobs ()
sed
-i
"s/^overlays=.*/overlays=
$newoverlays
/"
/boot/armbianEnv.txt
if
!
grep
-q
"overlays"
/boot/armbianEnv.txt
;
then
echo
"overlays=
$newoverlays
"
>>
/boot/armbianEnv.txt
;
fi
if
[[
-z
$newoverlays
]]
;
then
sed
-i
"/^overlays/d"
/boot/armbianEnv.txt
;
fi
sync
;;
1
)
if
[[
"
$CHANGES
"
==
"true"
]]
;
then
...
...
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