apm821xx: only attempt to mount /boot on MyBook Live

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-07-28 19:30:03 +02:00
parent 47cce1d5e4
commit 119b4422f8
1 changed files with 1 additions and 0 deletions

View File

@ -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