diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-28 19:30:03 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-29 10:18:09 +0200 |
commit | 119b4422f8e822bdb4f96e3df2b01b952718f672 (patch) | |
tree | f3faf63a79ee654ffe458214e07c17913e142e0f /target/linux | |
parent | 47cce1d5e45c1e6c5bb5659698408d4cea4e03a4 (diff) | |
download | upstream-119b4422f8e822bdb4f96e3df2b01b952718f672.tar.gz upstream-119b4422f8e822bdb4f96e3df2b01b952718f672.tar.bz2 upstream-119b4422f8e822bdb4f96e3df2b01b952718f672.zip |
apm821xx: only attempt to mount /boot on MyBook Live
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/apm821xx/base-files/lib/preinit/79_move_config | 1 |
1 files changed, 1 insertions, 0 deletions
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 |