projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
octeon
/
base-files
/
lib
/
preinit
/
79_move_config
diff --git
a/target/linux/octeon/base-files/lib/preinit/79_move_config
b/target/linux/octeon/base-files/lib/preinit/79_move_config
index 39cefd53dbc8752e15d836b7cace7890769bb513..669999e2e37698ff0823f2e4e6f96e795ebf8720 100644
(file)
--- a/
target/linux/octeon/base-files/lib/preinit/79_move_config
+++ b/
target/linux/octeon/base-files/lib/preinit/79_move_config
@@
-2,11
+2,7
@@
# Copyright (C) 2014 OpenWrt.org
move_config() {
- . /lib/functions/octeon.sh
-
- local board="$(octeon_board_name)"
-
- case "$board" in
+ case "$(cat /tmp/sysinfo/board_name)" in
erlite)
mount -t vfat /dev/sda1 /mnt
mv -f /mnt/sysupgrade.tgz /