diff --git a/target/linux/octeon/base-files/lib/preinit/79_move_config b/target/linux/octeon/base-files/lib/preinit/79_move_config index 01491500a03..e81627aaf20 100644 --- a/target/linux/octeon/base-files/lib/preinit/79_move_config +++ b/target/linux/octeon/base-files/lib/preinit/79_move_config @@ -22,7 +22,8 @@ octeon_move_config() { itus,shield-router) move_config "/dev/mmcblk1p1" ;; - ubnt,edgerouter-4 | \ + er|\ + ubnt,edgerouter-4|\ ubnt,edgerouter-6p) move_config "/dev/mmcblk0p1" ;; diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index 14b3eefe7e6..0b018890c5f 100755 --- a/target/linux/octeon/base-files/lib/upgrade/platform.sh +++ b/target/linux/octeon/base-files/lib/upgrade/platform.sh @@ -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