2 # Copyright (C) 2012-2015 OpenWrt.org
7 .
/lib
/upgrade
/platform.sh
9 if platform_export_bootdevice
&& platform_export_partdevice partdev
1; then
10 mount
-t ext4
-o rw
,noatime
"/dev/$partdev" /mnt
11 mv -f /mnt
/sysupgrade.tgz
/
16 boot_hook_add preinit_mount_root move_config