2 # Copyright (C) 2015 OpenWrt.org
4 .
/lib
/upgrade
/common.sh
6 BOOTPART
=/dev
/mmcblk0p1
9 if [ -b $BOOTPART ]; then
15 mount
-t vfat
-o rw
,noatime
$BOOTPART /boot
16 [ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
20 boot_hook_add preinit_mount_root move_config