From 119b4422f8e822bdb4f96e3df2b01b952718f672 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 28 Jul 2016 19:30:03 +0200 Subject: [PATCH] apm821xx: only attempt to mount /boot on MyBook Live Signed-off-by: Felix Fietkau --- target/linux/apm821xx/base-files/lib/preinit/79_move_config | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/apm821xx/base-files/lib/preinit/79_move_config b/target/linux/apm821xx/base-files/lib/preinit/79_move_config index 7c651b8a134..f45619fdbd7 100644 --- a/target/linux/apm821xx/base-files/lib/preinit/79_move_config +++ b/target/linux/apm821xx/base-files/lib/preinit/79_move_config @@ -3,6 +3,7 @@ BOOTPART=/dev/sda1 move_config() { + grep -q 'MyBook Live' /proc/cpuinfo || return if [ -b $BOOTPART ]; then mkdir -p /boot mount -t ext4 -o rw,noatime $BOOTPART /boot -- 2.30.2