2 # Copyright (C) 2012-2015 OpenWrt.org
7 .
/lib
/upgrade
/common.sh
9 if export_bootdevice
&& export_partdevice partdev
1; then
10 if mount
-t vfat
-o rw
,noatime
"/dev/$partdev" /mnt
; then
11 if [ -f "/mnt/$BACKUP_FILE" ]; then
12 mv -f "/mnt/$BACKUP_FILE" /
19 boot_hook_add preinit_mount_root move_config