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. Signed-off-by: Jakob Haufe <sur5r@sur5r.net> Link: https://github.com/openwrt/openwrt/pull/16238 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
bc2e5f10d4
commit
77037b09f3
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@ octeon_move_config() {
|
|||
itus,shield-router)
|
||||
move_config "/dev/mmcblk1p1"
|
||||
;;
|
||||
er|\
|
||||
ubnt,edgerouter-4|\
|
||||
ubnt,edgerouter-6p)
|
||||
move_config "/dev/mmcblk0p1"
|
||||
|
|
|
@ -34,6 +34,7 @@ platform_copy_config() {
|
|||
itus,shield-router)
|
||||
platform_copy_config_helper /dev/mmcblk1p1
|
||||
;;
|
||||
er|\
|
||||
ubnt,edgerouter-4|\
|
||||
ubnt,edgerouter-6p)
|
||||
platform_copy_config_helper /dev/mmcblk0p1
|
||||
|
|
Loading…
Reference in a new issue