Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
f987545c
Commit
f987545c
authored
Sep 27, 2012
by
p4u
Browse files
Added a rm -rf /overlay/* before upgrade system to be sure it removes all jffs fies
parent
a0ada3d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/qmp/qmp_update.sh
View file @
f987545c
...
...
@@ -152,6 +152,7 @@ qmp_update_upgrade_system() {
read
-p
"Do you want to upgrade system using image
$image_url
? [N,y] "
a
if
[
"
$a
"
==
"y"
]
;
then
rm
-rf
/overlay/
*
2>/dev/null
[
-n
"
$config
"
]
&&
sysupgrade
-f
$config
$output_image
[
-z
"
$config
"
]
&&
sysupgrade
-n
$output_image
fi
...
...
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