octeon: ubnt-edgerouter: fix sysupgrade config backup/restore
er is missing from platform_copy_config() and octeon_move_config(), so
config is lost on every sysupgrade.
(cherry-picked from commit 77037b09f3)
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
Link: https://github.com/openwrt/openwrt/pull/16518
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
87477c756e
commit
fa0a7e00e8
@ -22,7 +22,8 @@ octeon_move_config() {
|
|||||||
itus,shield-router)
|
itus,shield-router)
|
||||||
move_config "/dev/mmcblk1p1"
|
move_config "/dev/mmcblk1p1"
|
||||||
;;
|
;;
|
||||||
ubnt,edgerouter-4 | \
|
er|\
|
||||||
|
ubnt,edgerouter-4|\
|
||||||
ubnt,edgerouter-6p)
|
ubnt,edgerouter-6p)
|
||||||
move_config "/dev/mmcblk0p1"
|
move_config "/dev/mmcblk0p1"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@ -34,6 +34,7 @@ platform_copy_config() {
|
|||||||
itus,shield-router)
|
itus,shield-router)
|
||||||
platform_copy_config_helper /dev/mmcblk1p1
|
platform_copy_config_helper /dev/mmcblk1p1
|
||||||
;;
|
;;
|
||||||
|
er|\
|
||||||
ubnt,edgerouter-4|\
|
ubnt,edgerouter-4|\
|
||||||
ubnt,edgerouter-6p)
|
ubnt,edgerouter-6p)
|
||||||
platform_copy_config_helper /dev/mmcblk0p1
|
platform_copy_config_helper /dev/mmcblk0p1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user