[source] apm821xx: only attempt to mount /boot on MyBook Live
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 29 01:18:21 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=119b4422f8e822bdb4f96e3df2b01b952718f672
commit 119b4422f8e822bdb4f96e3df2b01b952718f672
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jul 28 19:30:03 2016 +0200
apm821xx: only attempt to mount /boot on MyBook Live
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
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 7c651b8..f45619f 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
More information about the lede-commits
mailing list