Skip to content
Snippets Groups Projects
Commit 6f665ea7 authored by John Crispin's avatar John Crispin
Browse files

octeon: sysupgrade: support config restore

SVN-Revision: 43518
parent 28a9d985
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,15 @@ platform_get_rootfs() {
fi
}
platform_copy_config() {
local board="$(octeon_board_name)"
local rootfs="$(platform_get_rootfs)"
mount -t ext4 -o rw,noatime "${rootfs}" /mnt
cp -af "$CONF_TAR" /mnt/
umount /mnt
}
platform_do_upgrade() {
local board=$(octeon_board_name)
local rootfs="$(platform_get_rootfs)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment