mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
parent
43ab58205c
commit
04fffdc9a5
@ -314,7 +314,7 @@
|
|||||||
if [ -f "$UPDATE_DIR/$2" -a -f "$3" ]; then
|
if [ -f "$UPDATE_DIR/$2" -a -f "$3" ]; then
|
||||||
echo "updating $1..."
|
echo "updating $1..."
|
||||||
mount -o remount,rw /flash
|
mount -o remount,rw /flash
|
||||||
mv $UPDATE_DIR/$2 $3
|
mv $UPDATE_DIR/$2 $3 2>/dev/null
|
||||||
# loopback file needs writable /flash all the time
|
# loopback file needs writable /flash all the time
|
||||||
if [ "${disk%%=*}" != "FILE" ]; then
|
if [ "${disk%%=*}" != "FILE" ]; then
|
||||||
mount -o remount,ro /flash
|
mount -o remount,ro /flash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user