mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-13 16:18:52 +01:00
mute .swu search when unmount SUB share
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
83ca140854
commit
705d2abac7
@ -58,7 +58,7 @@ mount_share () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if there is a software update file
|
# Check if there is a software update file
|
||||||
for file in $(ls /mnt/FunKey-*.swu); do
|
for file in $(ls /mnt/FunKey-*.swu >/dev/null 2>&1); do
|
||||||
swupdate -i "${file}"
|
swupdate -i "${file}"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user