projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47cce1d
)
apm821xx: only attempt to mount /boot on MyBook Live
author
Felix Fietkau
<nbd@nbd.name>
Thu, 28 Jul 2016 17:30:03 +0000
(19:30 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 29 Jul 2016 08:18:09 +0000
(10:18 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/apm821xx/base-files/lib/preinit/79_move_config
patch
|
blob
|
history
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 7c651b8a134df4e636e7ebb9419eecac2b6b3858..f45619fdbd7e86d36d9e1132e15b301edf99cf7c 100644
(file)
--- 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