2 # Copyright (C) 2015 OpenWrt.org
4 BOOTPART
=/dev
/mmcblk0p1
7 if [ -b $BOOTPART ]; then
13 mount
-o rw
,noatime
$BOOTPART /boot
14 [ -f /boot
/sysupgrade.tgz
] && mv -f /boot
/sysupgrade.tgz
/
19 boot_hook_add preinit_mount_root move_config