diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-17 17:02:55 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-03-22 11:43:22 +0100 |
commit | ca44b9a0d40e066ca6fa7125022125d7a33f5725 (patch) | |
tree | 1fb4cf287b15a70984d14d2822b26e078383ba18 /target/linux/pistachio/base-files/lib/upgrade | |
parent | c0e8108b706a3b2f68759aeea63f80c7656417fd (diff) | |
download | upstream-ca44b9a0d40e066ca6fa7125022125d7a33f5725.tar.gz upstream-ca44b9a0d40e066ca6fa7125022125d7a33f5725.tar.bz2 upstream-ca44b9a0d40e066ca6fa7125022125d7a33f5725.zip |
pistachio: remove custom board detection override
Use device tree based model string
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/pistachio/base-files/lib/upgrade')
-rwxr-xr-x | target/linux/pistachio/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/pistachio/base-files/lib/upgrade/platform.sh b/target/linux/pistachio/base-files/lib/upgrade/platform.sh index 2ddac783f3..ee5d5066c3 100755 --- a/target/linux/pistachio/base-files/lib/upgrade/platform.sh +++ b/target/linux/pistachio/base-files/lib/upgrade/platform.sh @@ -33,7 +33,7 @@ platform_nand_pre_upgrade() { local board=$(board_name) case "$board" in - marduk) + img,pistachio-marduk) local boot_partition=$(dmesg | grep "ubi0: attached.*" | sed "s/^.*\(firmware[0-1]\).*/\1/g") echo "Current boot partiton $boot_partition (/dev/mtd$(find_mtd_index $boot_partition))" |