aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/base-files/lib/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/base-files/lib/preinit')
-rw-r--r--target/linux/octeon/base-files/lib/preinit/01_sysinfo5
-rw-r--r--target/linux/octeon/base-files/lib/preinit/79_move_config3
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/octeon/base-files/lib/preinit/01_sysinfo b/target/linux/octeon/base-files/lib/preinit/01_sysinfo
index 34fa7392d2..d66618b0cf 100644
--- a/target/linux/octeon/base-files/lib/preinit/01_sysinfo
+++ b/target/linux/octeon/base-files/lib/preinit/01_sysinfo
@@ -17,6 +17,11 @@ do_sysinfo_octeon() {
name="erpro"
;;
+ "UBNT_E300"*)
+ # let generic 02_sysinfo handle it since device has its own device tree
+ return 0
+ ;;
+
"ITUS_SHIELD"*)
name="itus,shield-router"
;;
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 086f7c62e2..5a84e6f18a 100644
--- a/target/linux/octeon/base-files/lib/preinit/79_move_config
+++ b/target/linux/octeon/base-files/lib/preinit/79_move_config
@@ -21,6 +21,9 @@ octeon_move_config() {
itus,shield-router)
move_config "/dev/mmcblk1p1"
;;
+ ubnt,edgerouter-4)
+ move_config "/dev/mmcblk0p1"
+ ;;
esac
}