mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
@@ -44,7 +44,6 @@ function update_self() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cat > /root/.updateScript.sh << EOF
|
cat > /root/.updateScript.sh << EOF
|
||||||
#!/bin/bash
|
|
||||||
if mv "${_tempFileName}" "$0"; then
|
if mv "${_tempFileName}" "$0"; then
|
||||||
rm -- "\$0"
|
rm -- "\$0"
|
||||||
exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}"
|
exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}"
|
||||||
|
|||||||
Reference in New Issue
Block a user