2 # Copyright (C) 2015 OpenWrt.org
5 .
/lib
/upgrade
/common.sh
10 if export_bootdevice
&& export_partdevice partdev
1; then
20 mount
-o rw
,noatime
"/dev/$partdev" /boot
21 [ -f /boot
/sysupgrade.tgz
] && mv -f /boot
/sysupgrade.tgz
/
26 boot_hook_add preinit_mount_root move_config