apm821xx: only attempt to mount /boot on MyBook Live
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
47cce1d5e4
commit
119b4422f8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue