mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
mvebu: drop preinit script
The /lib/mvebu.sh script can now handle this task. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41341
This commit is contained in:
parent
e575c759ca
commit
cb3d5242ca
@ -50,6 +50,7 @@ mvebu_board_detect() {
|
||||
mvebu_board_name() {
|
||||
local name
|
||||
|
||||
[ -f /tmp/sysinfo/board_name ] || mvebu_board_detect
|
||||
[ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
|
||||
[ -z "$name" ] && name="unknown"
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_mvebu() {
|
||||
. /lib/mvebu.sh
|
||||
|
||||
mvebu_board_detect
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_mvebu
|
Loading…
Reference in New Issue
Block a user