projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use only board_name function to get name
[openwrt/openwrt.git]
/
target
/
linux
/
apm821xx
/
base-files
/
lib
/
preinit
/
79_move_config
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 f45619fdbd7e86d36d9e1132e15b301edf99cf7c..3ca8b0a71cdbd2f8cc104eaae8a1791eeb58aec0 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,7
+3,9
@@
BOOTPART=/dev/sda1
move_config() {
- grep -q 'MyBook Live' /proc/cpuinfo || return
+ . /lib/functions.sh
+
+ [ "$(board_name)" = "mbl" ] || return
if [ -b $BOOTPART ]; then
mkdir -p /boot
mount -t ext4 -o rw,noatime $BOOTPART /boot