summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/bootmode-fota/fota-init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootmode-fota/fota-init.sh b/src/bootmode-fota/fota-init.sh
index 14e25b4..038a634 100755
--- a/src/bootmode-fota/fota-init.sh
+++ b/src/bootmode-fota/fota-init.sh
@@ -172,10 +172,10 @@ do_rw_update() {
echo "Change into rw update mode" >> ${INT_LOG_FILE}
/sbin/progress_restart RW &
- # Go to system-update.target
+ # Go to offline-update.target
if [ $$ = 1 ]; then
cd ${FAKE_ROOT}
- exec /bin/chroot . /usr/lib/systemd/systemd --unit=system-update.target $@
+ exec /bin/chroot . /usr/lib/systemd/systemd --unit=offline-update.target $@
fi
do_reboot
}