From: Felix Fietkau Date: Thu, 28 Jul 2016 17:30:03 +0000 (+0200) Subject: apm821xx: only attempt to mount /boot on MyBook Live X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=119b4422f8e822bdb4f96e3df2b01b952718f672;p=openwrt%2Fstaging%2Fwigyori.git apm821xx: only attempt to mount /boot on MyBook Live Signed-off-by: Felix Fietkau --- 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 7c651b8a13..f45619fdbd 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